mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
add alias for numbers command
This commit is contained in:
parent
cdc57f55c4
commit
69ac5c52ed
|
@ -136,6 +136,12 @@ func HandleCommand(message twitch.PrivateMessage, twitchClient *twitch.Client, u
|
|||
commands.Godocs(message.Channel, message.Message[9:len(message.Message)], twitchClient)
|
||||
return
|
||||
}
|
||||
case "num":
|
||||
if msgLen == 1 {
|
||||
commands.RandomNumber(message.Channel, twitchClient)
|
||||
} else {
|
||||
commands.Number(message.Channel, cmdParams[1], twitchClient)
|
||||
}
|
||||
case "number":
|
||||
if msgLen == 1 {
|
||||
commands.RandomNumber(message.Channel, twitchClient)
|
||||
|
|
Loading…
Reference in a new issue