edit method
Edit the member.
await member.edit(MemberBuilder({
nickname: 'new-nickname',
isMuted: true,
...
}), reason: 'Testing');
Implementation
Future<void> edit(MemberBuilder builder, {String? reason}) =>
_memberMethods.updateMember(
serverId: server.id,
memberId: id,
reason: reason,
payload: {
'nick': nickname,
'mute': builder.isMuted,
'deaf': builder.isDeafened,
'exclude': builder.isExcluded,
});