allowBypassVerification method

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

Allow the member to bypass verification.

await member.flags.allowBypassVerification(reason: 'Testing');

Implementation

Future<void> allowBypassVerification({String? reason}) =>
    _memberMethods.updateMember(
        serverId: server.id,
        memberId: member.id,
        payload: {'flags': MemberFlag.bypassedVerification.value},
        reason: reason);