Skip to main content
Module

x/discordeno/mod.ts>BitwisePermissionFlags

Discord API library for Deno
Go to Latest
enum BitwisePermissionFlags
import { BitwisePermissionFlags } from "https://deno.land/x/discordeno@13.0.0-rc45/mod.ts";

Members

ADD_REACTIONS = 64

Allows for the addition of reactions to messages

ADMINISTRATOR = 8

Allows all permissions and bypasses channel permission overwrites

ATTACH_FILES = 32768

Allows for uploading images and files

BAN_MEMBERS = 4

Allows banning members

CHANGE_NICKNAME = 67108864

Allows for modification of own nickname

CONNECT = 1048576

Allows for joining of a voice channel

CREATE_INSTANT_INVITE = 1

Allows creation of instant invites

CREATE_PRIVATE_THREADS = 68719476736

Allows for creating private threads

CREATE_PUBLIC_THREADS = 34359738368

Allows for creating public and announcement threads

DEAFEN_MEMBERS = 8388608

Allows for deafening of members in a voice channel

KICK_MEMBERS = 2

Allows kicking members

MANAGE_CHANNELS = 16

Allows management and editing of channels

MANAGE_EMOJIS = 1073741824

Allows management and editing of emojis

MANAGE_EVENTS = 8589934592

Allows for creating, editing, and deleting scheduled events

MANAGE_GUILD = 32

Allows management and editing of the guild

MANAGE_MESSAGES = 8192

Allows for deletion of other users messages

MANAGE_NICKNAMES = 134217728

Allows for modification of other users nicknames

MANAGE_ROLES = 268435456

Allows management and editing of roles

MANAGE_THREADS = 17179869184

Allows for deleting and archiving threads, and viewing all private threads

MANAGE_WEBHOOKS = 536870912

Allows management and editing of webhooks

MENTION_EVERYONE = 131072

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

MODERATE_MEMBERS = 1099511627776

Allows 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 = 16777216

Allows for moving of members between voice channels

MUTE_MEMBERS = 4194304

Allows for muting members in a voice channel

PRIORITY_SPEAKER = 256

Allows for using priority speaker in a voice channel

READ_MESSAGE_HISTORY = 65536

Allows for reading of message history

REQUEST_TO_SPEAK = 4294967296

Allows for requesting to speak in stage channels.

SEND_MESSAGES = 2048

Allows for sending messages in a channel. (does not allow sending messages in threads)

SEND_MESSAGES_IN_THREADS = 274877906944

Allows for sending messages in threads

SEND_TTS_MESSAGES = 4096

Allows for sending of /tts messages

SPEAK = 2097152

Allows for speaking in a voice channel

STREAM = 512

Allows the user to go live

USE_EMBEDDED_ACTIVITIES = 549755813888

Allows for launching activities (applications with the EMBEDDED flag) in a voice channel.

USE_EXTERNAL_EMOJIS = 262144

Allows the usage of custom emojis from other servers

USE_EXTERNAL_STICKERS = 137438953472

Allows the usage of custom stickers from other servers

USE_SLASH_COMMANDS = 2147483648

Allows members to use application commands in text channels

USE_VAD = 33554432

Allows for using voice-activity-detection in a voice channel

VIEW_AUDIT_LOG = 128

Allows for viewing of audit logs

VIEW_CHANNEL = 1024

Allows guild members to view a channel, which includes reading messages in text channels and joining voice channels

VIEW_GUILD_INSIGHTS = 524288

Allows for viewing guild insights