refactor(commands): add current as an alias for playing

This commit is contained in:
Ryan 2025-01-06 16:32:13 -05:00
parent dfe05cc548
commit 5295d75257
Signed by: ErrorNoInternet
GPG Key ID: 2486BFB7B1E6A4A3
2 changed files with 2 additions and 1 deletions

View File

@ -5,6 +5,7 @@ import constants
class Command(enum.Enum):
CLEAR = "clear"
CURRENT = "current"
EXECUTE = "execute"
FAST_FORWARD = "ff"
HELP = "help"

View File

@ -120,7 +120,7 @@ async def on_message(message, edited=False):
await commands.bot.help(message)
case C.UPTIME:
await commands.bot.uptime(message)
case C.PLAYING:
case C.PLAYING | C.CURRENT:
await commands.voice.playing(message)
case C.FAST_FORWARD:
await commands.voice.fast_forward(message)