setUserLimit method

Future<void> setUserLimit(
  1. int userLimit, {
  2. String? reason,
})

Sets the user limit of the voice channel.

await channel.setUserLimit(10);

Implementation

Future<void> setUserLimit(int userLimit, {String? reason}) =>
    _methods.setUserLimit(userLimit, reason);