Enum ChannelPermission
Represents guild and channel permissions in Fluxer. Multiple permissions can be combined using bitwise OR.
[Flags]
public enum ChannelPermission : ulong
Fields
AddReactions = 64Allows adding reactions to messages.
AttachFiles = 32768Allows uploading files and media to messages.
BypassSlowmode = 4503599627370496Allows bypassing channel slowmode restrictions.
Connect = 1048576Allows joining voice channels.
CreateInstantInvite = 1Allows creation of instant invites to the guild or channel.
CreatePrivateThreads = 68719476736Allows creating private threads.
CreatePublicThreads = 34359738368Allows creating public threads.
DeafenMembers = 8388608Allows deafening members in voice channels.
EmbedLinks = 16384Allows links sent by the user to auto-embed.
ManageChannel = 16Allows management and editing of the channel.
ManageMessages = 8192Allows deleting and pinning messages from other users.
ManagePermissions = 268435456Allows management and editing of permissions.
ManageThreads = 17179869184Allows management of threads (archiving, locking, deleting).
ManageWebhooks = 536870912Allows management and editing of webhooks.
MentionEveryone = 131072Allows using @everyone and @here mentions, and mentioning all roles.
MoveMembers = 16777216Allows moving members between voice channels.
MuteMembers = 4194304Allows muting members in voice channels.
None = 0No permissions granted.
PinMessages = 2251799813685248Allows pinning messages in channels.
PrioritySpeaker = 256Allows using priority speaker in voice channels.
ReadMessageHistory = 65536Allows reading message history in channels.
RequestToSpeak = 4294967296Allows requesting to speak in stage channels.
SendMessages = 2048Allows sending messages in text channels.
SendMessagesInThreads = 274877906944Allows sending messages in threads.
SendPolls = 562949953421312Allows sending polls in text channels.
SendTTSMessages = 4096Allows sending text-to-speech messages.
SendVoiceMessages = 70368744177664Allows sending voice messages in text channels.
SetVoiceChannelStatus = 281474976710656Allows setting a custom status for voice channels.
Speak = 2097152Allows speaking in voice channels.
Stream = 512Allows streaming video in voice channels.
UpdateRtcRegion = 9007199254740992Allows updating the RTC (voice) region for a channel.
UseApplicationCommands = 2147483648Allows using application commands (slash commands, context menu commands).
UseEmbeddedActivities = 549755813888Allows using embedded activities (games, activities) in voice channels.
UseExternalApps = 1125899906842624Allows using external applications in channels.
UseExternalEmojis = 262144Allows using emojis from other guilds.
UseExternalSounds = 35184372088832Allows using soundboard sounds from other guilds.
UseExternalStickers = 137438953472Allows using stickers from other guilds.
UseSoundboard = 4398046511104Allows using the soundboard in voice channels.
UseVad = 33554432Allows using voice activity detection (no push-to-talk required).
ViewChannel = 1024Allows viewing channels (includes reading messages in text channels and joining voice channels).
ViewChannelMembers = 18014398509481984Allows you to view members in the channel.
Remarks
Permissions are stored as a 64-bit unsigned integer where each bit represents a specific permission. Use bitwise operations to check, add, or remove permissions.