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/repeat.py | |
parent | c1b229f34c010108b0e7eb92de2102dfc07ae70c (diff) | |
parent | 70e612882d1093b133d13302dccfba6aa2778474 (diff) |
Merge pull request #9 from PacketParker/dev
`black --line-length 79`
Diffstat (limited to 'code/cogs/repeat.py')
-rw-r--r-- | code/cogs/repeat.py | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/code/cogs/repeat.py b/code/cogs/repeat.py index b7b43ea..cf745d5 100644 --- a/code/cogs/repeat.py +++ b/code/cogs/repeat.py @@ -29,7 +29,9 @@ class Repeat(commands.GroupCog, name="repeat"): ) + " UTC" ) - return await interaction.response.send_message(embed=embed, ephemeral=True) + return await interaction.response.send_message( + embed=embed, ephemeral=True + ) player.loop = 0 @@ -64,13 +66,18 @@ class Repeat(commands.GroupCog, name="repeat"): ) + " UTC" ) - return await interaction.response.send_message(embed=embed, ephemeral=True) + return await interaction.response.send_message( + embed=embed, ephemeral=True + ) player.loop = 1 embed = discord.Embed( title=f"Repeating Current Song 🔁", - description=f"The song that is currently playing will be repeated until the </repeat off:1224840891395608737> command is run", + description=( + f"The song that is currently playing will be repeated until" + f" the </repeat off:1224840891395608737> command is run" + ), color=BOT_COLOR, ) embed.set_footer( @@ -99,13 +106,18 @@ class Repeat(commands.GroupCog, name="repeat"): ) + " UTC" ) - return await interaction.response.send_message(embed=embed, ephemeral=True) + return await interaction.response.send_message( + embed=embed, ephemeral=True + ) player.loop = 2 embed = discord.Embed( title=f"Repeating Current Song 🔂", - description=f"All songs in the queue will continue to repeat until the </repeat off:1224840891395608737> command is run.", + description=( + f"All songs in the queue will continue to repeat until the" + f" </repeat off:1224840891395608737> command is run." + ), color=BOT_COLOR, ) embed.set_footer( |