use the userid from the config instead of a hard coded one

This commit is contained in:
lyx0 2021-10-24 17:35:45 +02:00
parent b43acc7bf4
commit 0f8ebc170c

View file

@ -30,7 +30,7 @@ func main() {
}
// Don't act on bots own messages.
if message.Tags["user-id"] == "596581605" {
if message.Tags["user-id"] == conf.BotUserId {
return
}