Skip to content

Commit

Permalink
[Discord] Improve documentation for audio leave and leave commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed Nov 20, 2023
1 parent 5249c96 commit 7069a22
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 @@ -200,7 +200,7 @@ async def join(
# TODO: Check channel-specific permission?
)
async def audio_leave(self, ctx):
'''Tell me to leave the voice channel'''
'''Have me leave the voice channel'''
# Note: leave command invokes this command
if (await self.players[ctx.guild.id].leave_channel()):
await ctx.embed_reply(":door: I've left the voice channel")
Expand All @@ -214,7 +214,7 @@ async def audio_leave(self, ctx):
commands.has_guild_permissions(move_members = True)
)
async def leave(self, ctx):
'''Tell me to leave the voice channel'''
'''Have me leave the voice channel'''
if command := ctx.bot.get_command("audio leave"):
await ctx.invoke(command)
else:
Expand Down

0 comments on commit 7069a22

Please sign in to comment.