setNickname method
Change the member's nickname.
await member.setNickname('new-nickname', 'Testing');
Implementation
Future<void> setNickname(String value, String? reason) =>
_memberMethods.updateMember(
serverId: server.id,
memberId: id,
payload: {'nick': value},
reason: reason);