diff --git a/main.go b/main.go index 4daf0ab..5dd0225 100644 --- a/main.go +++ b/main.go @@ -140,6 +140,10 @@ func (s *Server) voiceStatus(ds *discordgo.Session, m *discordgo.VoiceStateUpdat case len(m.ChannelID) == 0: state = Leaving case m.BeforeUpdate != nil: + if m.BeforeUpdate.ChannelID == m.ChannelID { + // Action like muting caused new voice state, but in the same channel. + return + } state = Switching }