add special !nourybot and ()nourybot command that identifies who made it

This commit is contained in:
lyx0 2023-03-04 04:14:00 +00:00
parent 19417cfbdc
commit e5560bb1ed
2 changed files with 10 additions and 0 deletions

View file

@ -70,6 +70,10 @@ func (app *Application) handleCommand(message twitch.PrivateMessage) {
return return
} }
case "nourybot":
common.Send(target, "Lidl Twitch bot made by @nourylul. Prefix: ()", app.TwitchClient)
return
// ()bttv <emote name> // ()bttv <emote name>
case "bttv": case "bttv":
if msgLen < 2 { if msgLen < 2 {

View file

@ -151,6 +151,12 @@ func main() {
app.handleCommand(message) app.handleCommand(message)
return return
} }
// Special rule for #pajlada.
if message.Message == "!nourybot" {
common.Send(message.Channel, "Lidl Twitch bot made by @nourylul. Prefix: ()", app.TwitchClient)
}
} }
}) })