setDescription method

Future<void> setDescription(
  1. String description, {
  2. String? reason,
})

Set the server's description.

await server.setDescription('New Server Description', reason: 'Testing');

Implementation

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