setMentionable method

Future<void> setMentionable(
  1. bool value,
  2. String? reason
)

Implementation

Future<void> setMentionable(bool value, String? reason) async {
  await dataStoreRole.updateRole(
    id: id,
    serverId: server.id,
    reason: reason,
    payload: {'mentionable': value},
  );
}