Skip to content

Commit

Permalink
[Discord] Improve audio file command formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed Nov 20, 2023
1 parent 9fc8fe9 commit ad870b1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Discord/cogs/audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,10 @@ async def tts_options(
async def file(self, ctx, *, filename : str = ""):
'''Play an audio file'''
if not (await self.players[ctx.guild.id].play_file(ctx, filename)):
await ctx.embed_reply(":warning: Something else is already playing\nPlease stop it first")
await ctx.embed_reply(
":warning: Something else is already playing\n"
"Please stop it first"
)

@commands.command()
@checks.not_forbidden()
Expand Down

0 comments on commit ad870b1

Please sign in to comment.