Table of Contents

Enum ChannelPermission

Namespace
Fluxer.Net
Assembly
Fluxer.Net.dll

Represents guild and channel permissions in Fluxer. Multiple permissions can be combined using bitwise OR.

[Flags]
public enum ChannelPermission : ulong

Fields

AddReactions = 64

Allows adding reactions to messages.

AttachFiles = 32768

Allows uploading files and media to messages.

BypassSlowmode = 4503599627370496

Allows bypassing channel slowmode restrictions.

Connect = 1048576

Allows joining voice channels.

CreateInstantInvite = 1

Allows creation of instant invites to the guild or channel.

CreatePrivateThreads = 68719476736

Allows creating private threads.

CreatePublicThreads = 34359738368

Allows creating public threads.

DeafenMembers = 8388608

Allows deafening members in voice channels.

Allows links sent by the user to auto-embed.

ManageChannel = 16

Allows management and editing of the channel.

ManageMessages = 8192

Allows deleting and pinning messages from other users.

ManagePermissions = 268435456

Allows management and editing of permissions.

ManageThreads = 17179869184

Allows management of threads (archiving, locking, deleting).

ManageWebhooks = 536870912

Allows management and editing of webhooks.

MentionEveryone = 131072

Allows using @everyone and @here mentions, and mentioning all roles.

MoveMembers = 16777216

Allows moving members between voice channels.

MuteMembers = 4194304

Allows muting members in voice channels.

None = 0

No permissions granted.

PinMessages = 2251799813685248

Allows pinning messages in channels.

PrioritySpeaker = 256

Allows using priority speaker in voice channels.

ReadMessageHistory = 65536

Allows reading message history in channels.

RequestToSpeak = 4294967296

Allows requesting to speak in stage channels.

SendMessages = 2048

Allows sending messages in text channels.

SendMessagesInThreads = 274877906944

Allows sending messages in threads.

SendPolls = 562949953421312

Allows sending polls in text channels.

SendTTSMessages = 4096

Allows sending text-to-speech messages.

SendVoiceMessages = 70368744177664

Allows sending voice messages in text channels.

SetVoiceChannelStatus = 281474976710656

Allows setting a custom status for voice channels.

Speak = 2097152

Allows speaking in voice channels.

Stream = 512

Allows streaming video in voice channels.

UpdateRtcRegion = 9007199254740992

Allows updating the RTC (voice) region for a channel.

UseApplicationCommands = 2147483648

Allows using application commands (slash commands, context menu commands).

UseEmbeddedActivities = 549755813888

Allows using embedded activities (games, activities) in voice channels.

UseExternalApps = 1125899906842624

Allows using external applications in channels.

UseExternalEmojis = 262144

Allows using emojis from other guilds.

UseExternalSounds = 35184372088832

Allows using soundboard sounds from other guilds.

UseExternalStickers = 137438953472

Allows using stickers from other guilds.

UseSoundboard = 4398046511104

Allows using the soundboard in voice channels.

UseVad = 33554432

Allows using voice activity detection (no push-to-talk required).

ViewChannel = 1024

Allows viewing channels (includes reading messages in text channels and joining voice channels).

ViewChannelMembers = 18014398509481984

Allows 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.