From d08a429fb8a1ecfb1e58ba0c9b84060cff0b65b6 Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Wed, 7 May 2025 20:19:33 -0700 Subject: [PATCH] BareBot: Set channelID variable to the current channel --- client/chatbot.go | 1 + 1 file changed, 1 insertion(+) diff --git a/client/chatbot.go b/client/chatbot.go index aca2c9f..1fdafe6 100644 --- a/client/chatbot.go +++ b/client/chatbot.go @@ -30,6 +30,7 @@ func (h *BotHandlers) SetUserVariables(msg messages.Message) { "name": username, "isAdmin": "false", "messageID": fmt.Sprint(msg.MessageID), + "channelID": msg.Channel, } // Set global variables.