actually add user to set

This commit is contained in:
stryan 2021-01-04 20:53:03 -05:00
parent 04f56bd3e0
commit 8f5caaf834
1 changed files with 1 additions and 0 deletions

View File

@ -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