setRulesChannel method
Set the server's rules channel.
await server.setRulesChannel('1091121140090535956', reason: 'Testing');
Implementation
Future<void> setRulesChannel(String? channelId, {String? reason}) async {
await _serverPart.updateServer(id, {'rules_channel_id': channelId}, reason);
}