From dae2d4901c0ce62d9f3ba1e257fdf2e030d10159 Mon Sep 17 00:00:00 2001 From: Fluffy-Bean Date: Mon, 11 Sep 2023 23:32:21 +0100 Subject: [PATCH] Further cleanup to make Deepsource happy --- lynxie/commands/animals.py | 6 ++++-- lynxie/commands/help.py | 3 ++- lynxie/commands/image.py | 12 ++++++++---- lynxie/commands/music.py | 17 ++++++----------- lynxie/config.py | 2 +- 5 files changed, 21 insertions(+), 19 deletions(-) diff --git a/lynxie/commands/animals.py b/lynxie/commands/animals.py index 72c17d8..cb5a2a1 100644 --- a/lynxie/commands/animals.py +++ b/lynxie/commands/animals.py @@ -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 diff --git a/lynxie/commands/help.py b/lynxie/commands/help.py index 43409fd..1dca2e4 100644 --- a/lynxie/commands/help.py +++ b/lynxie/commands/help.py @@ -14,7 +14,8 @@ class Help(commands.Cog): "play ": "Play a song from YouTube, SoundCloud, etc.", "stop": "Stop the current song and leave the voice channel", "animal ": "Get a random image of an animal!", - "overlay