mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 03:23:29 +01:00
VoiceChannel user limit support
This commit is contained in:
@@ -16,4 +16,18 @@ Attributes
|
||||
members
|
||||
~~~~~~~~
|
||||
|
||||
A Cache_ of Users_ that are connected to the voice channel
|
||||
A Cache_ of Users_ that are connected to the voice channel
|
||||
|
||||
userLimit
|
||||
~~~~~~~~
|
||||
|
||||
The maximum amount of users that can connect to the voice channel. If it's 0, there is no limit
|
||||
|
||||
Functions
|
||||
---------
|
||||
|
||||
setUserLimit(limit, `callback`)
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
| **Shortcut of** ``client.setChannelUserLimit(channel, limit, callback)``
|
||||
| **See** client.setChannelUserLimit_
|
||||
Reference in New Issue
Block a user