PermissionsConstants class
Permissions constants
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- allPermissions → int
-
All of the permissions.
no setter
Constants
- addReactions → const int
- Allows for the addition of reactions to messages.
- administrator → const int
- Given to administrator.
- attachFiles → const int
- Allows for uploading images and files.
- banMembers → const int
- Allows to ban members.
- changeNickname → const int
- Allows for modification of own nickname.
- connect → const int
- Allows for joining of a voice channel.
- createInstantInvite → const int
- Allows to create instant invite.
- createPrivateThreads → const int
- Allows for creating and participating in private threads.
- createPublicThreads → const int
- Allows for creating and participating in threads.
- deafenMembers → const int
- Allows for deafening of members in a voice channel.
- embedLinks → const int
- Links sent by users with this permission will be auto-embedded.
- kickMembers → const int
- Allows to kick members.
- manageChannels → const int
- Allows to manage channels(renaming, changing permissions)
- manageEmojisAndStickers → const int
- manageEvents → const int
- Allows for creating, editing, and deleting scheduled events.
- manageGuild → const int
- Allows to manager guild.
- manageMessages → const int
- Allows to deletes, edit messages.
- manageNicknames → const int
- Allows for modification of other users nicknames.
- manageRoles → const int
- Allows management and editing of roles.
- manageThreads → const int
- Allows for deleting and archiving threads, and viewing all private threads.
- manageWebhooks → const int
- Allows management and editing of webhooks.
- mentionEveryone → const int
- 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.
- moderateMembers → const int
- 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.
- moveMembers → const int
- Allows for moving of members between voice channels.
- muteMembers → const int
- Allows for muting members in a voice channel.
- prioritySpeaker → const int
- Allows for using priority speaker in a voice channel.
- readMessageHistory → const int
- Allows for reading of message history.
- requestToSpeak → const int
- Allows for requesting to speak in stage channels.
- sendMessages → const int
- Allows to send messages.
- sendMessagesInThreads → const int
- Allows to send messages in threads.
- sendTtsMessages → const int
- Allows to send TTS messages.
- speak → const int
- Allows for speaking in a voice channel.
- startEmbeddedActivities → const int
- Allows for launching activities in a voice channel.
- stream → const int
- Allows the user to go live.
- useExternalEmojis → const int
- Allows the usage of custom emojis from other servers.
- useExternalStickers → const int
- Allows the usage of custom stickers from other servers.
- useSlashCommands → const int
- Allows members to use slash commands in text channels.
- useVad → const int
- Allows for using voice-activity-detection in a voice channel.
- viewAuditLog → const int
- Allows for viewing of audit logs.
- viewChannel → const int
- Allows guild members to view a channel, which includes reading messages in text channels.
- viewGuildInsights → const int
- Allows for viewing guild insights.