refactor(commands): add current as an alias for playing
This commit is contained in:
parent
dfe05cc548
commit
5295d75257
@ -5,6 +5,7 @@ import constants
|
||||
|
||||
class Command(enum.Enum):
|
||||
CLEAR = "clear"
|
||||
CURRENT = "current"
|
||||
EXECUTE = "execute"
|
||||
FAST_FORWARD = "ff"
|
||||
HELP = "help"
|
||||
|
2
core.py
2
core.py
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user