mirror of
https://github.com/Fluffy-Bean/Lynxie.git
synced 2025-05-23 11:54:57 +00:00
Further cleanup to make Deepsource happy
This commit is contained in:
parent
42a41509c5
commit
dae2d4901c
5 changed files with 21 additions and 19 deletions
|
@ -17,12 +17,14 @@ class Animals(commands.Cog):
|
|||
animal_choice = animal_choice.lower().strip() or None
|
||||
|
||||
if not animal_choice:
|
||||
error = f"You need to specify an animal! Try one of these: {', '.join(TINYFOX_ANIMALS)}"
|
||||
error = f"You need to specify an animal! " \
|
||||
f"Try one of these: {', '.join(TINYFOX_ANIMALS)}"
|
||||
await ctx.reply(embed=error_message(error))
|
||||
return
|
||||
|
||||
if animal_choice not in TINYFOX_ANIMALS:
|
||||
error = f"That animal doesn't exist! Try one of these: {', '.join(TINYFOX_ANIMALS)}"
|
||||
error = f"That animal doesn't exist! " \
|
||||
f"Try one of these: {', '.join(TINYFOX_ANIMALS)}"
|
||||
await ctx.reply(embed=error_message(error))
|
||||
return
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue