fixes error

This commit is contained in:
officereso 2021-01-24 18:02:10 -06:00
parent 3aba1d5e14
commit 3e76d38a04

View File

@ -156,9 +156,8 @@ class McRoll(commands.Cog):
name=choice['serverName'] + ' ' + str(self.client.get_emoji(int(choice['reaction'])))
if choice['getEmoji']
else bytes(choice['reaction'], "utf-8").decode("unicode_escape"),
value=("Multiplier : " + str(round(2 * math.log10(choice['lastActivated'] + 1) + 1, 2)) + '\n' +
"Last Rolled : " + str(choice['lastActivated'] * 2) + " weeks ago.") +
"\nThis is an only server, meaning if it wins it will be the only winner" if choice['onlyServer'] else "")
value="Multiplier : " + str(round(2 * math.log10(choice['lastActivated'] + 1) + 1, 2)) + '\n' +
"Last Rolled : " + str(choice['lastActivated'] * 2) + " weeks ago.") + "\nThis is an only server, meaning if it wins it will be the only winner" if choice['onlyServer'] else ""
pollMessage = await channel.send(embed=embed)
await channel.send('@everyone')