diff options
author | 2020-09-08 17:26:18 +0530 | |
---|---|---|
committer | 2020-09-08 17:26:18 +0530 | |
commit | 7779a19fb3e75448c26daa448062619a2d17b6b2 (patch) | |
tree | ce4fe00a6b3768407ac22b32209c29bc0680ec24 | |
parent | changes chance var to chances (diff) |
made two variable of response
-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: |