mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
forgot returns
This commit is contained in:
parent
89b2d480e7
commit
09b60730ae
1 changed files with 2 additions and 1 deletions
|
@ -67,12 +67,13 @@ func HandleCommand(message twitch.PrivateMessage, twitchClient *twitch.Client, u
|
|||
case "8ball":
|
||||
commands.EightBall(message, twitchClient)
|
||||
return
|
||||
|
||||
case "weather":
|
||||
if msgLen == 1 {
|
||||
twitchClient.Say(message.Channel, "Usage: ()weather [location]")
|
||||
return
|
||||
} else {
|
||||
commands.Weather(message.Channel, message.Message[9:len(message.Message)], twitchClient)
|
||||
return
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue