From b1f37c2ecf0e3d68bedae5c418bfae948877d6b6 Mon Sep 17 00:00:00 2001 From: flifloo Date: Fri, 10 Apr 2020 20:39:09 +0200 Subject: [PATCH] Remove command message --- extensions/poll.py | 1 + 1 file changed, 1 insertion(+) diff --git a/extensions/poll.py b/extensions/poll.py index 1d8b5b3..abfb792 100644 --- a/extensions/poll.py +++ b/extensions/poll.py @@ -38,6 +38,7 @@ class Poll(commands.Cog): await message.add_reaction(reaction) message = await message.channel.fetch_message(message.id) self.polls[message.id] = {"multi": multi, "message": message, "author": ctx.message.author.id} + await ctx.message.delete() @poll.group("help", pass_context=True) @commands.guild_only()