setUnicodeEmoji method

Future<void> setUnicodeEmoji(
  1. String emoji,
  2. String? reason
)

Implementation

Future<void> setUnicodeEmoji(String emoji, String? reason) async {
  await dataStoreRole.updateRole(
    id: id,
    serverId: server.id,
    reason: reason,
    payload: {'unicode_emoji': emoji},
  );
}