setAfkTimeout method
Set the server's afk timeout.
await server.setAfkTimeout(300, reason: 'Testing');
Implementation
Future<void> setAfkTimeout(int value, {String? reason}) async {
await _serverPart.updateServer(id, {'afk_timeout': value}, reason);
}