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:
parent
3fe7fbc24b
commit
7727d140a0
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue