mirror of
https://github.com/lyx0/nourybot.git
synced 2024-11-13 19:49:55 +01:00
add special !nourybot and ()nourybot command that identifies who made it
This commit is contained in:
parent
19417cfbdc
commit
e5560bb1ed
|
@ -70,6 +70,10 @@ func (app *Application) handleCommand(message twitch.PrivateMessage) {
|
|||
return
|
||||
}
|
||||
|
||||
case "nourybot":
|
||||
common.Send(target, "Lidl Twitch bot made by @nourylul. Prefix: ()", app.TwitchClient)
|
||||
return
|
||||
|
||||
// ()bttv <emote name>
|
||||
case "bttv":
|
||||
if msgLen < 2 {
|
||||
|
|
|
@ -151,6 +151,12 @@ func main() {
|
|||
app.handleCommand(message)
|
||||
return
|
||||
}
|
||||
|
||||
// Special rule for #pajlada.
|
||||
if message.Message == "!nourybot" {
|
||||
common.Send(message.Channel, "Lidl Twitch bot made by @nourylul. Prefix: ()", app.TwitchClient)
|
||||
}
|
||||
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue