addRole abstract method

Future<void> addRole({
  1. required Snowflake memberId,
  2. required Snowflake serverId,
  3. required Snowflake roleId,
  4. required String? reason,
})

Implementation

Future<void> addRole(
    {required Snowflake memberId,
    required Snowflake serverId,
    required Snowflake roleId,
    required String? reason});