diff options
author | Parker <contact@pkrm.dev> | 2024-10-31 05:26:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-31 05:26:36 +0000 |
commit | 5be16a998857d1f14410904a41d052070d5f8776 (patch) | |
tree | 6b26a4dc377ccf209c37eabf673d6031fdc10987 /code/cogs/remove.py | |
parent | c1b229f34c010108b0e7eb92de2102dfc07ae70c (diff) | |
parent | 70e612882d1093b133d13302dccfba6aa2778474 (diff) |
Merge pull request #9 from PacketParker/dev
`black --line-length 79`
Diffstat (limited to 'code/cogs/remove.py')
-rw-r--r-- | code/cogs/remove.py | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/code/cogs/remove.py b/code/cogs/remove.py index ac3f941..f672ffd 100644 --- a/code/cogs/remove.py +++ b/code/cogs/remove.py @@ -21,7 +21,10 @@ class Remove(commands.Cog): if not player.queue: embed = discord.Embed( title="Nothing Queued", - description="Nothing is currently in the queue, so there is nothing for me to remove.", + description=( + "Nothing is currently in the queue, so there is nothing" + " for me to remove." + ), color=BOT_COLOR, ) embed.set_footer( @@ -34,7 +37,8 @@ class Remove(commands.Cog): if number > len(player.queue) or number < 1: return await interaction.response.send_message( - "The number entered is not a number within the queue - please try again!", + "The number entered is not a number within the queue - please" + " try again!", ephemeral=True, ) @@ -46,7 +50,11 @@ class Remove(commands.Cog): embed = discord.Embed( title="Song Removed from Queue", - description=f"**Song Removed - [{removed_title}]({removed_url})**\n\nIssued by: {interaction.user.mention}", + description=( + "**Song Removed -" + f" [{removed_title}]({removed_url})**\n\nIssued by:" + f" {interaction.user.mention}" + ), color=BOT_COLOR, ) embed.set_thumbnail(url=removed_artwork) |