diff options
| -rw-r--r-- | bot/exts/evergreen/wikipedia.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/bot/exts/evergreen/wikipedia.py b/bot/exts/evergreen/wikipedia.py index 1d7feb8b..5380d6e9 100644 --- a/bot/exts/evergreen/wikipedia.py +++ b/bot/exts/evergreen/wikipedia.py @@ -79,8 +79,8 @@ class WikipediaCog(commands.Cog):                  error_msg = 'Please try again by using `.wiki` command'              try:                  user = await ctx.bot.wait_for('message', timeout=60.0, check=check) -                response = await self.bot.get_context(user) -                if response.command: +                response_from_user = await self.bot.get_context(user) +                if response_from_user.command:                      return                  response = int(user.content)                  if response < 0: | 
