From 7b48e75f6e654e4af8303fb57a79d428a1ff5386 Mon Sep 17 00:00:00 2001 From: Matthias Nadler Date: Fri, 12 Apr 2019 20:50:46 +0200 Subject: [PATCH] pass context removed --- cogs/poll_controls.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cogs/poll_controls.py b/cogs/poll_controls.py index ad10a0a..4810682 100644 --- a/cogs/poll_controls.py +++ b/cogs/poll_controls.py @@ -195,7 +195,7 @@ class PollControls(commands.Cog): footer = f'Type {pre}show to display all polls' await self.say_error(ctx, error, footer) - @commands.command(pass_context=True) + @commands.command() async def close(self, ctx, *, short=None): '''Close a poll. Parameter: