GroupImporter

class GroupImporter(var name: String) : Group

Constructors

Link copied to clipboard
constructor(name: String)

Properties

Link copied to clipboard
open override var name: String

The unique name of this group.

Functions

Link copied to clipboard
open suspend override fun clearGroupPlayers(): Group

Removes all players from this group.

Link copied to clipboard
suspend fun create()
Link copied to clipboard
open suspend override fun delete()

Deletes this group.

Link copied to clipboard
suspend fun exists(): Boolean
Link copied to clipboard
open suspend override fun getColor(): Group.GroupColor

Returns the group's display color.

Link copied to clipboard
open suspend fun getName(): String

Returns the current name of this group.

Link copied to clipboard
open suspend override fun getPermissions(): Group.PermissionSet

Returns the group's permissions as a PermissionSet.

Link copied to clipboard
open suspend override fun getPriority(): Int

Returns the group's priority. Higher values indicate higher priority.

Link copied to clipboard
open suspend override fun getTag(): String?

Gets the group's current tag.

Link copied to clipboard
open suspend override fun getTagVisibleInChat(): Boolean

Returns whether the group's tag is visible in chat.

Link copied to clipboard
open suspend override fun setColor(newColor: Group.GroupColor): Group

Sets the group's display color.

Link copied to clipboard
open suspend override fun setName(newName: String): Group

Sets the name of this group.

Link copied to clipboard
open suspend override fun setPermissions(newPermissions: Group.PermissionSet): Group

Replaces the group's permissions with the provided set.

Link copied to clipboard
open suspend override fun setPriority(newPriority: Int): Group

Sets the group's priority.

Link copied to clipboard
open suspend override fun setTag(newTag: String): Group

Sets the group's chat tag.

Link copied to clipboard
open suspend override fun setTagVisibleInChat(newVisibleInChat: Boolean): Group

Sets visibility of the group's tag in chat.