Discore
Show / Hide Table of Contents

Method SetUserLimit

| Improve this Doc View Source

SetUserLimit(int)

Sets the user limit (if a voice channel).

Declaration
public CreateGuildChannelOptions SetUserLimit(int userLimit)
Parameters
Type Name Description
int userLimit
Returns
Type Description
CreateGuildChannelOptions
Exceptions
Type Condition
InvalidOperationException

Thrown if this builder is not for a voice channel.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX