|
|
@@ -10,94 +10,130 @@ namespace Discord |
|
|
|
/// <summary> |
|
|
|
/// Allows creation of instant invites. |
|
|
|
/// </summary> |
|
|
|
CreateInstantInvite = 0x00_00_00_01, |
|
|
|
CreateInstantInvite = 0x00_00_00_00_01, |
|
|
|
/// <summary> |
|
|
|
/// Allows management and editing of channels. |
|
|
|
/// </summary> |
|
|
|
ManageChannels = 0x00_00_00_10, |
|
|
|
ManageChannels = 0x00_00_00_00_10, |
|
|
|
|
|
|
|
// Text |
|
|
|
/// <summary> |
|
|
|
/// Allows for the addition of reactions to messages. |
|
|
|
/// </summary> |
|
|
|
AddReactions = 0x00_00_00_40, |
|
|
|
AddReactions = 0x00_00_00_00_40, |
|
|
|
/// <summary> |
|
|
|
/// Allows guild members to view a channel, which includes reading messages in text channels. |
|
|
|
/// </summary> |
|
|
|
ViewChannel = 0x00_00_04_00, |
|
|
|
ViewChannel = 0x00_00_00_04_00, |
|
|
|
/// <summary> |
|
|
|
/// Allows for sending messages in a channel. |
|
|
|
/// </summary> |
|
|
|
SendMessages = 0x00_00_08_00, |
|
|
|
SendMessages = 0x00_00_00_08_00, |
|
|
|
/// <summary> |
|
|
|
/// Allows for sending of text-to-speech messages. |
|
|
|
/// </summary> |
|
|
|
SendTTSMessages = 0x00_00_10_00, |
|
|
|
SendTTSMessages = 0x00_00_00_10_00, |
|
|
|
/// <summary> |
|
|
|
/// Allows for deletion of other users messages. |
|
|
|
/// </summary> |
|
|
|
ManageMessages = 0x00_00_20_00, |
|
|
|
ManageMessages = 0x00_00_00_20_00, |
|
|
|
/// <summary> |
|
|
|
/// Allows links sent by users with this permission will be auto-embedded. |
|
|
|
/// </summary> |
|
|
|
EmbedLinks = 0x00_00_40_00, |
|
|
|
EmbedLinks = 0x00_00_00_40_00, |
|
|
|
/// <summary> |
|
|
|
/// Allows for uploading images and files. |
|
|
|
/// </summary> |
|
|
|
AttachFiles = 0x00_00_80_00, |
|
|
|
AttachFiles = 0x00_00_00_80_00, |
|
|
|
/// <summary> |
|
|
|
/// Allows for reading of message history. |
|
|
|
/// </summary> |
|
|
|
ReadMessageHistory = 0x00_01_00_00, |
|
|
|
ReadMessageHistory = 0x00_00_01_00_00, |
|
|
|
/// <summary> |
|
|
|
/// 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. |
|
|
|
/// </summary> |
|
|
|
MentionEveryone = 0x00_02_00_00, |
|
|
|
MentionEveryone = 0x00_00_02_00_00, |
|
|
|
/// <summary> |
|
|
|
/// Allows the usage of custom emojis from other servers. |
|
|
|
/// </summary> |
|
|
|
UseExternalEmojis = 0x00_04_00_00, |
|
|
|
UseExternalEmojis = 0x00_00_04_00_00, |
|
|
|
|
|
|
|
// Voice |
|
|
|
/// <summary> |
|
|
|
/// Allows for joining of a voice channel. |
|
|
|
/// </summary> |
|
|
|
Connect = 0x00_10_00_00, |
|
|
|
Connect = 0x00_00_10_00_00, |
|
|
|
/// <summary> |
|
|
|
/// Allows for speaking in a voice channel. |
|
|
|
/// </summary> |
|
|
|
Speak = 0x00_20_00_00, |
|
|
|
Speak = 0x00_00_20_00_00, |
|
|
|
/// <summary> |
|
|
|
/// Allows for muting members in a voice channel. |
|
|
|
/// </summary> |
|
|
|
MuteMembers = 0x00_40_00_00, |
|
|
|
MuteMembers = 0x00_00_40_00_00, |
|
|
|
/// <summary> |
|
|
|
/// Allows for deafening of members in a voice channel. |
|
|
|
/// </summary> |
|
|
|
DeafenMembers = 0x00_80_00_00, |
|
|
|
DeafenMembers = 0x00_00_80_00_00, |
|
|
|
/// <summary> |
|
|
|
/// Allows for moving of members between voice channels. |
|
|
|
/// </summary> |
|
|
|
MoveMembers = 0x01_00_00_00, |
|
|
|
MoveMembers = 0x00_01_00_00_00, |
|
|
|
/// <summary> |
|
|
|
/// Allows for using voice-activity-detection in a voice channel. |
|
|
|
/// </summary> |
|
|
|
UseVAD = 0x02_00_00_00, |
|
|
|
PrioritySpeaker = 0x00_00_01_00, |
|
|
|
UseVAD = 0x00_02_00_00_00, |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// Allows for using priority speaker in a voice channel. |
|
|
|
/// </summary> |
|
|
|
PrioritySpeaker = 0x00_00_00_01_00, |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// Allows video streaming in a voice channel. |
|
|
|
/// </summary> |
|
|
|
Stream = 0x00_00_02_00, |
|
|
|
Stream = 0x00_00_00_02_00, |
|
|
|
|
|
|
|
// More General |
|
|
|
/// <summary> |
|
|
|
/// Allows management and editing of roles. |
|
|
|
/// </summary> |
|
|
|
ManageRoles = 0x10_00_00_00, |
|
|
|
ManageRoles = 0x00_10_00_00_00, |
|
|
|
/// <summary> |
|
|
|
/// Allows management and editing of webhooks. |
|
|
|
/// </summary> |
|
|
|
ManageWebhooks = 0x20_00_00_00, |
|
|
|
ManageWebhooks = 0x00_20_00_00_00, |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// Allows management and editing of emojis. |
|
|
|
/// </summary> |
|
|
|
ManageEmojis = 0x00_40_00_00_00, |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// Allows members to use slash commands in text channels. |
|
|
|
/// </summary> |
|
|
|
UseSlashCommands = 0x00_80_00_00_00, |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// Allows for requesting to speak in stage channels. (This permission is under active development and may be changed or removed.) |
|
|
|
/// </summary> |
|
|
|
RequesToSpeak = 0x01_00_00_00_00, |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// Allows for deleting and archiving threads, and viewing all private threads |
|
|
|
/// </summary> |
|
|
|
ManageThreads = 0x04_00_00_00_00, |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// Allows for creating and participating in threads |
|
|
|
/// </summary> |
|
|
|
UsePublicThreads = 0x08_00_00_00_00, |
|
|
|
|
|
|
|
/// <summary> |
|
|
|
/// Allows for creating and participating in private threads |
|
|
|
/// </summary> |
|
|
|
UsePrivateThreads = 0x10_00_00_00_00, |
|
|
|
|
|
|
|
} |
|
|
|
} |