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