1
0
Fork 0
mirror of synced 2024-05-07 06:02:24 +12:00

Catch no permissions to remove poll reaction

This commit is contained in:
Dan Hess 2020-04-06 12:00:38 -05:00
parent 64bf95a872
commit 84c0ea6414

View file

@ -77,7 +77,10 @@ class Polls(commands.Cog):
return
poll = self.get_poll(reaction.message)
if poll:
await poll.remove_other_reaction(reaction, user)
try:
await poll.remove_other_reaction(reaction, user)
except discord.Forbidden:
pass
@commands.command()
@commands.guild_only()