From 0f8ebc170cd976905636eac3269c46c77bfb2295 Mon Sep 17 00:00:00 2001 From: lyx0 Date: Sun, 24 Oct 2021 17:35:45 +0200 Subject: [PATCH] use the userid from the config instead of a hard coded one --- cmd/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/main.go b/cmd/main.go index bd90231..cbaf986 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -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 }