enum BitwisePermissionFlagsimport { BitwisePermissionFlags } from "https://dotland.deno.dev/x/discordeno@17.2.0/plugins/validations/deps.ts"; https://discord.com/developers/docs/topics/permissions#permissions-bitwise-permission-flags MembersADD_REACTIONS = 64Allows for the addition of reactions to messages ADMINISTRATOR = 8Allows all permissions and bypasses channel permission overwrites ATTACH_FILES = 32768Allows for uploading images and files BAN_MEMBERS = 4Allows banning members CHANGE_NICKNAME = 67108864Allows for modification of own nickname CONNECT = 1048576Allows for joining of a voice channel CREATE_INSTANT_INVITE = 1Allows creation of instant invites CREATE_PRIVATE_THREADS = 68719476736Allows for creating private threads CREATE_PUBLIC_THREADS = 34359738368Allows for creating public and announcement threads DEAFEN_MEMBERS = 8388608Allows for deafening of members in a voice channel EMBED_LINKS = 16384Links sent by users with this permission will be auto-embedded KICK_MEMBERS = 2Allows kicking members MANAGE_CHANNELS = 16Allows management and editing of channels MANAGE_EMOJIS_AND_STICKERS = 1073741824Allows management and editing of emojis and stickers MANAGE_EVENTS = 8589934592Allows for creating, editing, and deleting scheduled events MANAGE_GUILD = 32Allows management and editing of the guild MANAGE_MESSAGES = 8192Allows for deletion of other users messages MANAGE_NICKNAMES = 134217728Allows for modification of other users nicknames MANAGE_ROLES = 268435456Allows management and editing of roles MANAGE_THREADS = 17179869184Allows for deleting and archiving threads, and viewing all private threads MANAGE_WEBHOOKS = 536870912Allows management and editing of webhooks MENTION_EVERYONE = 131072Allows for using the @everyone tag to notify all users in a channel, and the @here tag to notify all online users in a channel MODERATE_MEMBERS = 1099511627776Allows 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 MOVE_MEMBERS = 16777216Allows for moving of members between voice channels MUTE_MEMBERS = 4194304Allows for muting members in a voice channel PRIORITY_SPEAKER = 256Allows for using priority speaker in a voice channel READ_MESSAGE_HISTORY = 65536Allows for reading of message history REQUEST_TO_SPEAK = 4294967296Allows for requesting to speak in stage channels. SEND_MESSAGES = 2048Allows for sending messages in a channel. (does not allow sending messages in threads) SEND_MESSAGES_IN_THREADS = 274877906944Allows for sending messages in threads SEND_TTS_MESSAGES = 4096Allows for sending of /tts messages SPEAK = 2097152Allows for speaking in a voice channel STREAM = 512Allows the user to go live USE_EMBEDDED_ACTIVITIES = 549755813888Allows for launching activities (applications with the EMBEDDED flag) in a voice channel. USE_EXTERNAL_EMOJIS = 262144Allows the usage of custom emojis from other servers USE_EXTERNAL_STICKERS = 137438953472Allows the usage of custom stickers from other servers USE_SLASH_COMMANDS = 2147483648Allows members to use application commands in text channels USE_VAD = 33554432Allows for using voice-activity-detection in a voice channel VIEW_AUDIT_LOG = 128Allows for viewing of audit logs VIEW_CHANNEL = 1024Allows guild members to view a channel, which includes reading messages in text channels and joining voice channels VIEW_GUILD_INSIGHTS = 524288Allows for viewing guild insights import BitwisePermissionFlagsimport { BitwisePermissionFlags } from "https://dotland.deno.dev/x/discordeno@17.2.0/plugins/validations/deps.ts";