Types

Link copied to clipboard

Allows for the addition of reactions to messages.

Link copied to clipboard

Allows all permissions and bypasses channel permission overwrites.

Link copied to clipboard

Allows for uploading images and files.

Link copied to clipboard

Allows banning members.

Link copied to clipboard

Allows for modification of own nickname.

Link copied to clipboard
object Companion
Link copied to clipboard

Allows for joining of a voice channel.

Link copied to clipboard

Allows for creating scheduled events, and editing and deleting those created by the current user.

Link copied to clipboard

Allows for creating emojis, stickers, and soundboard sounds, and editing and deleting those created by the current user.

Link copied to clipboard

Allows creation of instant invites.

Link copied to clipboard

Allows for creating private threads.

Link copied to clipboard

Allows for creating public and announcement threads.

Link copied to clipboard

Allows for deafening of members in a voice channel.

Link copied to clipboard

Links sent by users with this permission will be auto-embedded.

Link copied to clipboard

Allows kicking members.

Link copied to clipboard

Allows management and editing of channels.

Link copied to clipboard

Allows for editing and deleting scheduled events created by all users.

Link copied to clipboard

Allows management and editing of the guild.

Link copied to clipboard

Allows for editing and deleting emojis, stickers, and soundboard sounds created by all users.

Link copied to clipboard

Allows for deletion of other users' messages.

Link copied to clipboard

Allows for modification of other users' nicknames.

Link copied to clipboard

Allows management and editing of roles.

Link copied to clipboard

Allows for deleting and archiving threads, and viewing all private threads.

Link copied to clipboard

Allows management and editing of webhooks.

Link copied to clipboard

Allows for using the @everyone tag to notify all users in a channel, and the @here tag to notify all online users in a channel.

Link copied to clipboard

Allows for timing out users to prevent them from sending or reacting to messages in chat and threads, and from speaking in voice and stage channels.

Link copied to clipboard

Allows for moving of members between voice channels.

Link copied to clipboard

Allows for muting members in a voice channel.

Link copied to clipboard

Allows for using priority speaker in a voice channel.

Link copied to clipboard

Allows for reading of message history.

Link copied to clipboard

Allows for requesting to speak in stage channels.

Link copied to clipboard

Allows for sending messages in a channel and creating threads in a forum (does not allow sending messages in threads).

Link copied to clipboard

Allows for sending messages in threads.

Link copied to clipboard

Allows for sending of /tts messages.

Link copied to clipboard

Allows sending voice messages.

Link copied to clipboard
object Speak : Permission

Allows for speaking in a voice channel.

Link copied to clipboard

Allows the user to go live.

Link copied to clipboard

An unknown Permission.

Link copied to clipboard

Allows members to use application commands, including slash commands and context menu commands.

Link copied to clipboard

Allows for using Activities (applications with the Embedded flag) in a voice channel.

Link copied to clipboard

Allows the usage of custom emojis from other servers.

Link copied to clipboard

Allows the usage of custom soundboard sounds from other servers.

Link copied to clipboard

Allows the usage of custom stickers from other servers.

Link copied to clipboard

Allows for using soundboard in a voice channel.

Link copied to clipboard

Allows for using voice-activity-detection in a voice channel.

Link copied to clipboard

Allows for viewing of audit logs.

Link copied to clipboard

Allows guild members to view a channel, which includes reading messages in text channels and joining voice channels.

Link copied to clipboard

Allows for viewing role subscription insights.

Link copied to clipboard

Allows for viewing guild insights.

Properties

Link copied to clipboard

The raw code used by Discord.

Link copied to clipboard
val shift: Int

The position of the bit that is set in this Permission. This is always >= 0.

Functions

Link copied to clipboard
operator override fun equals(other: Any?): Boolean
Link copied to clipboard
override fun hashCode(): Int
Link copied to clipboard
operator fun plus(flag: Permission): Permissions

Returns an instance of Permissions that has all bits set that are set in this and flag.

operator fun plus(flags: Permissions): Permissions

Returns an instance of Permissions that has all bits set that are set in this and flags.

Link copied to clipboard
override fun toString(): String