mirror of
https://github.com/stryan/mumble-discord-bridge.git
synced 2024-11-14 11:45:40 -05:00
send message when user leaves too
This commit is contained in:
parent
b782efdf04
commit
41e864a0f3
@ -178,6 +178,7 @@ func voiceUpdate(s *discordgo.Session, event *discordgo.VoiceStateUpdate) {
|
||||
}
|
||||
delete(Bridge.DiscordUsers, u.Username)
|
||||
log.Println("user left watched discord channel")
|
||||
Bridge.CurrentChannel.Send(fmt.Sprintf("%v has left Discord channel\n", u.Username), false)
|
||||
Bridge.DiscordUserCount = count
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user