From cef527c81d9bbce64ebbebd058d9e9da502303d9 Mon Sep 17 00:00:00 2001 From: flifloo Date: Fri, 10 Apr 2020 20:43:03 +0200 Subject: [PATCH] Forget to remove poll from list :/ --- extensions/poll.py | 1 + 1 file changed, 1 insertion(+) diff --git a/extensions/poll.py b/extensions/poll.py index 0777487..410fc6b 100644 --- a/extensions/poll.py +++ b/extensions/poll.py @@ -78,6 +78,7 @@ class Poll(commands.Cog): for i, f in enumerate(embed.fields): embed.set_field_at(i, name=f"{f.name} - {reactions[i].count-1}", value=f.value, inline=False) await message.edit(embed=embed) + del self.polls[id] @commands.Cog.listener() async def on_command_error(self, ctx: commands.Context, error):