Checks if the server group is partially filled.
Whether the server group is partially filled.
Patches the server group with new data.
The new data to patch the server group with.
Adds a client to the server group.
The client to add.
A promise that resolves when the client has been added.
Adds a permission to this server group. You can also edit the permission using this method.
The options for adding or editing the permission.
A promise that resolves when the permission has been added or edited.
Copies this server group into a new server group.
The options for copying the server group.
The created server group.
Copies this server group into an existing server group.
The options for copying the server group.
A promise that resolves when the server group has been copied.
Deletes the server group.
Optional
force: boolean = falseWhether to force the deletion. Force deletion will remove the server group from all clients.
A promise that resolves when the server group has been deleted.
Fetches the client database IDs from this server group.
A promise that resolves with the client database IDs.
Fetches the permissions from this server group.
A promise that resolves with the permissions.
Removes a client from the server group.
The client to remove.
A promise that resolves when the client has been removed.
Removes a permission from this server group.
The permission to remove. This can be a permission object, a permission ID (number), or a permission server ID (string, such as "i_channel_modify_power").
A promise that resolves when the permission has been removed.
Renames the server group.
The new name for the server group.
The updated server group.
Represents a server group.