setRulesChannel method

Future<void> setRulesChannel(
  1. String? channelId, {
  2. String? reason,
})

Implementation

Future<void> setRulesChannel(String? channelId, {String? reason}) async {
  await _serverPart.updateServer(id, {'rules_channel_id': channelId}, reason);
}