mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
add alias for firstline
This commit is contained in:
parent
126b6ca8cb
commit
2733c47f3f
1 changed files with 11 additions and 0 deletions
|
@ -94,6 +94,17 @@ func HandleCommand(message twitch.PrivateMessage, twitchClient *twitch.Client, u
|
||||||
commands.Firstline(message.Channel, cmdParams[1], cmdParams[2], twitchClient)
|
commands.Firstline(message.Channel, cmdParams[1], cmdParams[2], twitchClient)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
case "fl":
|
||||||
|
if msgLen == 1 {
|
||||||
|
twitchClient.Say(message.Channel, "Usage: ()firstline [channel] [user]")
|
||||||
|
return
|
||||||
|
} else if msgLen == 2 {
|
||||||
|
commands.Firstline(message.Channel, message.Channel, cmdParams[1], twitchClient)
|
||||||
|
return
|
||||||
|
} else {
|
||||||
|
commands.Firstline(message.Channel, cmdParams[1], cmdParams[2], twitchClient)
|
||||||
|
return
|
||||||
|
}
|
||||||
case "followage":
|
case "followage":
|
||||||
if msgLen <= 2 {
|
if msgLen <= 2 {
|
||||||
twitchClient.Say(message.Channel, "Usage: ()followage [channel] [user]")
|
twitchClient.Say(message.Channel, "Usage: ()followage [channel] [user]")
|
||||||
|
|
Loading…
Reference in a new issue