From f7924261de2ce2fb9bec4d11c78378d7c11a0503 Mon Sep 17 00:00:00 2001 From: Justin Judd Date: Tue, 8 Jul 2025 21:19:50 -0700 Subject: [PATCH] Fixed notifications when actions are taken within the same channel.. --- main.go | 4 ++++ 1 file changed, 4 insertions(+) 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 }