kick method

Future<void> kick({
  1. String? reason,
})

Kick the member.

await member.kick(reason: 'Testing');

Implementation

Future<void> kick({String? reason}) => _memberMethods.kickMember(
    serverId: server.id, memberId: id, reason: reason);