From 84c0ea6414e2b1b097a329f7966c7573b1a743d9 Mon Sep 17 00:00:00 2001 From: Dan Hess Date: Mon, 6 Apr 2020 12:00:38 -0500 Subject: [PATCH] Catch no permissions to remove poll reaction --- cogs/polls.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cogs/polls.py b/cogs/polls.py index c827867..004104b 100644 --- a/cogs/polls.py +++ b/cogs/polls.py @@ -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()