1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-30 10:43:30 +00:00

gateway: Update CommunicationDisabledUntil in GuildMemberUpdateEvent.UpdateMember (#307)

This commit is contained in:
starshines 2022-02-06 00:05:13 +01:00 committed by GitHub
parent 3fe7fbc24b
commit 7727d140a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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