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):
|
class Command(enum.Enum):
|
||||||
CLEAR = "clear"
|
CLEAR = "clear"
|
||||||
|
CURRENT = "current"
|
||||||
EXECUTE = "execute"
|
EXECUTE = "execute"
|
||||||
FAST_FORWARD = "ff"
|
FAST_FORWARD = "ff"
|
||||||
HELP = "help"
|
HELP = "help"
|
||||||
|
2
core.py
2
core.py
@ -120,7 +120,7 @@ async def on_message(message, edited=False):
|
|||||||
await commands.bot.help(message)
|
await commands.bot.help(message)
|
||||||
case C.UPTIME:
|
case C.UPTIME:
|
||||||
await commands.bot.uptime(message)
|
await commands.bot.uptime(message)
|
||||||
case C.PLAYING:
|
case C.PLAYING | C.CURRENT:
|
||||||
await commands.voice.playing(message)
|
await commands.voice.playing(message)
|
||||||
case C.FAST_FORWARD:
|
case C.FAST_FORWARD:
|
||||||
await commands.voice.fast_forward(message)
|
await commands.voice.fast_forward(message)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user