diff options
Diffstat (limited to 'bot/exts/fun/snakes')
| -rw-r--r-- | bot/exts/fun/snakes/_snakes_cog.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/fun/snakes/_snakes_cog.py b/bot/exts/fun/snakes/_snakes_cog.py index 6f359928..dfe2903a 100644 --- a/bot/exts/fun/snakes/_snakes_cog.py +++ b/bot/exts/fun/snakes/_snakes_cog.py @@ -375,7 +375,7 @@ class Snakes(Cog): for image in snake_info["images"]: # Images come in the format of `File:filename.extension` - file, sep, filename = image["title"].partition(":") + _, _, filename = image["title"].partition(":") filename = filename.replace(" ", "%20") # Wikipedia returns good data! if not filename.startswith("Map"): @@ -421,7 +421,7 @@ class Snakes(Cog): # Validate the answer try: - reaction, user = await ctx.bot.wait_for("reaction_add", timeout=45.0, check=predicate) + reaction, _ = await ctx.bot.wait_for("reaction_add", timeout=45.0, check=predicate) except TimeoutError: await ctx.send(f"You took too long. The correct answer was **{options[answer]}**.") await message.clear_reactions() |