setUnicodeEmoji method
Set the role's emoji.
await role.setUnicodeEmoji('👑', reason: 'Testing');
Implementation
Future<void> setUnicodeEmoji(String emoji, String? reason) async {
await dataStoreRole.updateRole(
id: id,
serverId: server.id,
reason: reason,
payload: {'unicode_emoji': emoji},
);
}