Adds a permission to a channel Multiple permissions can be added by providing the two parameters of each permission. A permission can be specified by permid or permsid.
Deletes an existing channel by ID. If force is set to 1, the channel will be deleted even if there are clients within. The clients will be kicked to the default channel with an appropriate reason message.
if set to 1 the channel will be deleted even when clients are in it
Removes a set of specified permissions from a channel. Multiple permissions can be removed at once. A permission can be specified by permid or permsid.
the permid or permsid
Changes a channels configuration using given properties. Note that this command accepts multiple properties which means that you're able to change all settings of the channel specified with cid at once.
the properties of the channel which should get changed
returns a buffer with the icon of the channel
returns the icon name of the channel
returns detailed configuration information about a channel including ID, topic, description, etc
retrieves the namespace of this class
returns the parent class
retrieves a single property value by the given name
the name from where the value should be retrieved
Moves a channel to a new parent channel with the ID cpid. If order is specified, the channel will be sorted right under the channel with the specified ID. If order is set to 0, the channel will be sorted right below the new parent.
channel parent id
channel sort order
Displays a list of permissions defined for a channel.
whether the permsid should be displayed aswell
Adds a set of specified permissions to a channel. Multiple permissions can be added by providing the two parameters of each permission. A permission can be specified by permid or permsid.
permission object to set
returns JSONifyable data
updates the cache with the given object
retrieves the clients from an array
Generated using TypeDoc