From 4e563797b0bdb0499aec5e1d02678f87cdd741ee Mon Sep 17 00:00:00 2001 From: lyx0 Date: Mon, 25 Oct 2021 17:43:45 +0200 Subject: [PATCH] add paja alert --- pkg/handlers/privatemessage.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg/handlers/privatemessage.go b/pkg/handlers/privatemessage.go index d8ab7f4..6434d55 100644 --- a/pkg/handlers/privatemessage.go +++ b/pkg/handlers/privatemessage.go @@ -22,9 +22,10 @@ func PrivateMessage(message twitch.PrivateMessage, nb *bot.Bot) { return } - if message.Channel == "nourybot" && message.Message == "pajaS 🚨 ALERT" && message.User.Name == "nouryqt" { + // Thing for #pajlada + if message.Channel == "pajlada" && message.Message == "pajaS 🚨 ALERT" && message.User.Name == "pajbot" && message.Action { log.Info(message.Message) - nb.SkipChecking("nourybot", "XD test") + nb.SkipChecking("pajlada", "/me PAJAS 🚨 pajaAAAAAAAAAAA") return }