BareBot: Set channelID variable to the current channel
This commit is contained in:
parent
25f4fcba0d
commit
d08a429fb8
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user