diff --git a/bot/extensions/polls/events.py b/bot/extensions/polls/events.py index 220d641b..3fdca9fa 100644 --- a/bot/extensions/polls/events.py +++ b/bot/extensions/polls/events.py @@ -14,7 +14,11 @@ def __init__(self, bot: core.DiscordBot): @commands.Cog.listener() async def on_raw_reaction_add(self, payload: discord.RawReactionActionEvent): channel: discord.TextChannel = self.bot.get_channel(payload.channel_id) - message: discord.Message = await channel.fetch_message(payload.message_id) + + try: + message: discord.Message = await channel.fetch_message(payload.message_id) + except discord.NotFound: + return if payload.user_id == self.bot.user.id: return