From 7727d140a04c6cd965163fdd7b825eccebfb016b Mon Sep 17 00:00:00 2001 From: starshines Date: Sun, 6 Feb 2022 00:05:13 +0100 Subject: [PATCH] gateway: Update CommunicationDisabledUntil in GuildMemberUpdateEvent.UpdateMember (#307) --- gateway/events.go | 1 + 1 file changed, 1 insertion(+) diff --git a/gateway/events.go b/gateway/events.go index d63debc..0c38cfc 100644 --- a/gateway/events.go +++ b/gateway/events.go @@ -317,6 +317,7 @@ func (u *GuildMemberUpdateEvent) UpdateMember(m *discord.Member) { m.User = u.User m.Nick = u.Nick m.Avatar = u.Avatar + m.CommunicationDisabledUntil = u.CommunicationDisabledUntil } // GuildMembersChunkEvent is a dispatch event. It is sent when the Guild Request