Skip to content

Commit d55fec2

Browse files
committed
style: reformat files
1 parent 53f5bda commit d55fec2

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

cogs/__eval__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def _cleanup_code(content):
6969
body = _cleanup_code(modal.code.value)
7070
stdout = io.StringIO()
7171

72-
to_compile = f'async def func():\n{textwrap.indent(body, " ")}'
72+
to_compile = f"async def func():\n{textwrap.indent(body, ' ')}"
7373

7474
def _paginate(text: str):
7575
app_index = 0

cogs/music.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -633,8 +633,7 @@ async def _replay(self, ctx: discord.Interaction):
633633

634634
if not is_privileged(ctx):
635635
return await ctx.edit_original_response(
636-
content="Only the DJ or admins may set the "
637-
"loop state of the player."
636+
content="Only the DJ or admins may set the loop state of the player."
638637
)
639638

640639
await player.seek()
@@ -874,8 +873,7 @@ async def _loop(self, ctx: discord.Interaction):
874873

875874
if not is_privileged(ctx):
876875
return await ctx.edit_original_response(
877-
content="Only the DJ or admins may set the "
878-
"loop state of the player."
876+
content="Only the DJ or admins may set the loop state of the player."
879877
)
880878

881879
if not player.loop:
@@ -904,8 +902,7 @@ async def _loop_queue(self, ctx: discord.Interaction):
904902

905903
if not is_privileged(ctx):
906904
return await ctx.edit_original_response(
907-
content="Only the DJ or admins may set the "
908-
"loop state of the player."
905+
content="Only the DJ or admins may set the loop state of the player."
909906
)
910907

911908
if len(player.queue) == 0:

0 commit comments

Comments
 (0)