Skip to content

Commit

Permalink
[Discord] Use error emoji Bot attribute in audio pause command
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed Nov 20, 2023
1 parent b918cd3 commit 53e090a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Discord/cogs/audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,9 +233,13 @@ async def audio_pause(self, ctx):
ctx.guild.voice_client.pause()
await ctx.embed_reply(":pause_button: Paused song")
elif ctx.guild.voice_client.is_paused():
await ctx.embed_reply(":no_entry: The song is already paused")
await ctx.embed_reply(
f"{ctx.bot.error_emoji} The song is already paused"
)
else:
await ctx.embed_reply(":no_entry: There is no song to pause")
await ctx.embed_reply(
f"{ctx.bot.error_emoji} There is no song to pause"
)

@commands.command(aliases = ["stop"])
@checks.is_voice_connected()
Expand Down

0 comments on commit 53e090a

Please sign in to comment.