mirror of
https://github.com/allthingslinux/tux.git
synced 2024-10-02 16:43:12 +00:00
note(poll.py) address note (see commit desc)
this is just part of discord rate limiting, at the end of the day the reactions are still removed
This commit is contained in:
parent
887ad4710f
commit
83b028b5b8
1 changed files with 0 additions and 2 deletions
|
@ -52,8 +52,6 @@ class Poll(commands.Cog):
|
|||
@commands.Cog.listener()
|
||||
async def on_reaction_add(self, reaction: discord.Reaction, user: discord.User) -> None:
|
||||
# Block any reactions that are not numbers for the poll
|
||||
# NOTE: Today we observed in amazing detail that the pure will of 1 too many dedicated discord members can make
|
||||
# the bot freak out whenever trying to remove reactions. Is there a better solution for this?
|
||||
if reaction.message.embeds:
|
||||
embed = reaction.message.embeds[0]
|
||||
if (
|
||||
|
|
Loading…
Reference in a new issue