mirror of
https://github.com/stryan/mumble-discord-bridge.git
synced 2024-11-14 11:45:40 -05:00
actually add user to set
This commit is contained in:
parent
04f56bd3e0
commit
8f5caaf834
@ -154,6 +154,7 @@ func voiceUpdate(s *discordgo.Session, event *discordgo.VoiceStateUpdate) {
|
||||
Bridge.CurrentChannel.Send(fmt.Sprintf("%v has joined Discord channel\n", u.Username), false)
|
||||
}
|
||||
Bridge.DiscordUserCount = Bridge.DiscordUserCount + 1
|
||||
Bridge.DiscordUsers[u.Username] = true
|
||||
}
|
||||
if event.ChannelID == "" {
|
||||
//leave event, trigger recount of active users
|
||||
|
Loading…
Reference in New Issue
Block a user