enum Cryscord::Permission

Overview

the comments are silly but it helps me make sure I got all of them and in the right order

Defined in:

permission.cr

Enum Members

CREATE_INSTANT_INVITE = 1_u64
KICK_MEMBERS = 2_u64
BAN_MEMBERS = 4_u64
ADMINISTRATOR = 8_u64
MANAGE_CHANNELS = 16_u64
MANAGE_GUILD = 32_u64
ADD_REACTIONS = 64_u64
VIEW_AUDIT_LOG = 128_u64
PRIORITY_SPEAKER = 256_u64
STREAM = 512_u64
VIEW_CHANNEL = 1024_u64
SEND_MESSAGES = 2048_u64
SEND_TTS_MESSAGES = 4096_u64
MANAGE_MESSAGES = 8192_u64
EMBED_LINKS = 16384_u64
ATTACH_FILES = 32768_u64
READ_MESSAGE_HISTORY = 65536_u64
MENTION_EVERYONE = 131072_u64
USE_EXTERNAL_EMOJIS = 262144_u64
VIEW_GUILD_INSIGHTS = 524288_u64
CONNECT = 1048576_u64
SPEAK = 2097152_u64
MUTE_MEMBERS = 4194304_u64
DEAFEN_MEMBERS = 8388608_u64
MOVE_MEMBERS = 16777216_u64
USE_VAD = 33554432_u64
CHANGE_NICKNAME = 67108864_u64
MANAGE_NICKNAMES = 134217728_u64
MANAGE_ROLES = 268435456_u64
MANAGE_WEBHOOKS = 536870912_u64
MANAGE_GUILD_EXPRESSIONS = 1073741824_u64
USE_APPLICATION_COMMANDS = 2147483648_u64
REQUEST_TO_SPEAK = 4294967296_u64
MANAGE_EVENTS = 8589934592_u64
MANAGE_THREADS = 17179869184_u64
CREATE_PUBLIC_THREADS = 34359738368_u64
CREATE_PRIVATE_THREADS = 68719476736_u64
USE_EXTERNAL_STICKERS = 137438953472_u64
SEND_MESSAGES_IN_THREADS = 274877906944_u64
USE_EMBEDDED_ACTIVITIES = 549755813888_u64
MODERATE_MEMBERS = 1099511627776_u64
VIEW_CREATOR_MONETIZATION_ANALYTICS = 2199023255552_u64
USE_SOUNDBOARD = 4398046511104_u64
CREATE_GUILD_EXPRESSIONS = 8796093022208_u64
CREATE_EVENTS = 17592186044416_u64
USE_EXTERNAL_SOUNDS = 35184372088832_u64
SEND_VOICE_MESSAGES = 70368744177664_u64
None = 0_u64
All = 140737488355327_u64

Constructors

Instance Method Summary

Constructor Detail

def self.new(value : String) #

[View source]

Instance Method Detail

def add_reactions? #

[View source]
def administrator? #

[View source]
def attach_files? #

[View source]
def ban_members? #

[View source]
def change_nickname? #

[View source]
def connect? #

[View source]
def create_events? #

[View source]
def create_guild_expressions? #

[View source]
def create_instant_invite? #

[View source]
def create_private_threads? #

[View source]
def create_public_threads? #

[View source]
def deafen_members? #

[View source]
def embed_links? #

[View source]
def kick_members? #

[View source]
def manage_channels? #

[View source]
def manage_events? #

[View source]
def manage_guild? #

[View source]
def manage_guild_expressions? #

[View source]
def manage_messages? #

[View source]
def manage_nicknames? #

[View source]
def manage_roles? #

[View source]
def manage_threads? #

[View source]
def manage_webhooks? #

[View source]
def mention_everyone? #

[View source]
def moderate_members? #

[View source]
def move_members? #

[View source]
def mute_members? #

[View source]
def needs_oauth? #

[View source]
def none? #

[View source]
def priority_speaker? #

[View source]
def read_message_history? #

[View source]
def request_to_speak? #

[View source]
def send_messages? #

[View source]
def send_messages_in_threads? #

[View source]
def send_tts_messages? #

[View source]
def send_voice_messages? #

[View source]
def speak? #

[View source]
def stream? #

[View source]
def use_application_commands? #

[View source]
def use_embedded_activities? #

[View source]
def use_external_emojis? #

[View source]
def use_external_sounds? #

[View source]
def use_external_stickers? #

[View source]
def use_soundboard? #

[View source]
def use_vad? #

[View source]
def view_audit_log? #

[View source]
def view_channel? #

[View source]
def view_creator_monetization_analytics? #

[View source]
def view_guild_insights? #

[View source]