Skip to content

Commit

Permalink
[Discord] Improve documentation for audio mute and mute commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed Nov 20, 2023
1 parent 8dbec61 commit 9d4e221
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Discord/cogs/audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ async def deafen(self, ctx):
@checks.is_voice_connected()
@commands.check_any(checks.is_permitted(), checks.is_guild_owner())
async def audio_mute(self, ctx):
'''Mute'''
'''Have me mute myself'''
# Note: mute command invokes this command
if ctx.guild.me.voice.self_mute:
await ctx.embed_reply(f"{ctx.bot.error_emoji} I'm already muted")
Expand All @@ -951,7 +951,7 @@ async def audio_mute(self, ctx):
@checks.is_voice_connected()
@commands.check_any(checks.is_permitted(), checks.is_guild_owner())
async def mute(self, ctx):
'''Mute'''
'''Have me mute myself'''
if command := ctx.bot.get_command("audio mute"):
await ctx.invoke(command)
else:
Expand Down

0 comments on commit 9d4e221

Please sign in to comment.