D++ (DPP)  10.0.30
C++ Discord API Bot Library
permissions.h File Reference
#include <dpp/export.h>
#include <dpp/json.h>
#include <cstdint>
#include <type_traits>
Include dependency graph for permissions.h:
This graph shows which files directly or indirectly include this file:

Classes

class  dpp::permission
 Represents a permission bitmask (refer to enum dpp::permissions) which are held in an uint64_t. More...
 

Namespaces

 dpp
 The main namespace for D++ functions.
 

Typedefs

using dpp::role_permissions = permissions
 Represents the various discord permissions. More...
 

Enumerations

enum  dpp::permissions : uint64_t {
  dpp::p_create_instant_invite = 0x00000000001,
  dpp::p_kick_members = 0x00000000002,
  dpp::p_ban_members = 0x00000000004,
  dpp::p_administrator = 0x00000000008,
  dpp::p_manage_channels = 0x00000000010,
  dpp::p_manage_guild = 0x00000000020,
  dpp::p_add_reactions = 0x00000000040,
  dpp::p_view_audit_log = 0x00000000080,
  dpp::p_priority_speaker = 0x00000000100,
  dpp::p_stream = 0x00000000200,
  dpp::p_view_channel = 0x00000000400,
  dpp::p_send_messages = 0x00000000800,
  dpp::p_send_tts_messages = 0x00000001000,
  dpp::p_manage_messages = 0x00000002000,
  dpp::p_embed_links = 0x00000004000,
  dpp::p_attach_files = 0x00000008000,
  dpp::p_read_message_history = 0x00000010000,
  dpp::p_mention_everyone = 0x00000020000,
  dpp::p_use_external_emojis = 0x00000040000,
  dpp::p_view_guild_insights = 0x00000080000,
  dpp::p_connect = 0x00000100000,
  dpp::p_speak = 0x00000200000,
  dpp::p_mute_members = 0x00000400000,
  dpp::p_deafen_members = 0x00000800000,
  dpp::p_move_members = 0x00001000000,
  dpp::p_use_vad = 0x00002000000,
  dpp::p_change_nickname = 0x00004000000,
  dpp::p_manage_nicknames = 0x00008000000,
  dpp::p_manage_roles = 0x00010000000,
  dpp::p_manage_webhooks = 0x00020000000,
  dpp::p_manage_emojis_and_stickers = 0x00040000000,
  dpp::p_use_application_commands = 0x00080000000,
  dpp::p_request_to_speak = 0x00100000000,
  dpp::p_manage_events = 0x00200000000,
  dpp::p_manage_threads = 0x00400000000,
  dpp::p_create_public_threads = 0x00800000000,
  dpp::p_create_private_threads = 0x01000000000,
  dpp::p_use_external_stickers = 0x02000000000,
  dpp::p_send_messages_in_threads = 0x04000000000,
  dpp::p_use_embedded_activities = 0x08000000000,
  dpp::p_moderate_members = 0x10000000000,
  dpp::p_view_creator_monetization_analytics = 0x20000000000,
  dpp::p_use_soundboard = 0x40000000000,
  dpp::p_use_external_sounds = 0x0000200000000000,
  dpp::p_send_voice_messages = 0x0000400000000000,
  dpp::p_use_clyde_ai = 0x0000800000000000
}
 Represents the various discord permissions. More...