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