addRole abstract method
- SnowflakeEntity role,
- {String? auditReason}
Adds role to user.
var r = guild.roles.values.first;
await member.addRole(r);
Implementation
Future<void> addRole(SnowflakeEntity role, {String? auditReason});
Adds role to user.
var r = guild.roles.values.first;
await member.addRole(r);
Future<void> addRole(SnowflakeEntity role, {String? auditReason});