using System; namespace Maki { /// /// Discord Permission Flags /// [Flags] public enum DiscordPermission : long { /// /// Allows creation of instant invites /// CreateInstantInvite = 0x1, /// /// Allows kicking members /// KickMembers = 0x2, /// /// Allows banning members /// BanMembers = 0x4, /// /// Allows all permissions and bypasses channel permission overwrites /// Administrator = 0x8, /// /// Allows management and editing of channels /// ManageChannels = 0x10, /// /// Allows management and editing of the guild /// ManageGuild = 0x20, /// /// Allows for the addition of reactions to messages /// AddReactions = 0x40, /// /// Allows viewing the audit log /// ViewAuditLog = 0x80, /// /// Allows reading messages in a channel. The channel will not appear for users without this permission /// ReadMessages = 0x400, /// /// Allows for sending messages in a channel. /// SendMessages = 0x800, /// /// Allows for sending of /tts messages /// SendTTSMessages = 0x1000, /// /// Allows for deletion of other users messages /// ManageMessages = 0x2000, /// /// Links sent by this user will be auto-embedded /// EmbedLinks = 0x4000, /// /// Allows for uploading images and files /// AttachFiles = 0x8000, /// /// Allows for reading of message history /// ReadMessageHistory = 0x10000, /// /// 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 /// MentionEveryone = 0x20000, /// /// Allows the usage of custom emojis from other servers /// ExternalEmojis = 0x40000, /// /// Allows for joining of a voice channel /// VoiceConnect = 0x100000, /// /// Allows for speaking in a voice channel /// VoiceSpeak = 0x200000, /// /// Allows for muting members in a voice channel /// VoiceMuteMembers = 0x400000, /// /// Allows for deafening of members in a voice channel /// VoiceDeafenMembers = 0x800000, /// /// Allows for moving of members between voice channels /// VoiceMoveMembers = 0x1000000, /// /// Allows for using voice-activity-detection in a voice channel /// VoiceUseVAD = 0x2000000, /// /// Allows for modification of own nickname /// ChangeNickname = 0x4000000, /// /// Allows for modification of other users nicknames /// ManageNicknames = 0x8000000, /// /// Allows management and editing of roles /// ManageRoles = 0x10000000, /// /// Allows management and editing of webhooks /// ManageWebhooks = 0x20000000, /// /// Allows management and editing of emojis /// ManageEmojis = 0x40000000, /// /// Blank permissions /// None = 0, } }