![]() |
Qore DiscordRestClient Module Reference 1.0
|
the DiscordRestClient namespace contains all the objects in the DiscordRestClient module More...
Classes | |
class | DiscordRestClient |
this class provides the REST client API for communication with Discord servers More... | |
class | DiscordRestConnection |
Class for Discord REST connections; returns DiscordRestClient objects. More... | |
Variables | |
const | DCT_ANNOUNCEMENT_THREAD = 10 |
a temporary sub-channel within a GUILD_ANNOUNCEMENT channel | |
const | DCT_DM = 1 |
a direct message between users | |
const | DCT_GROUP_DM = 3 |
a direct message between multiple users | |
const | DCT_GUILD_ANNOUNCEMENT = 5 |
a channel that users can follow and crosspost into their own server (formerly news channels) | |
const | DCT_GUILD_CATEGORY = 4 |
an organizational category that contains up to 50 channels | |
const | DCT_GUILD_DIRECTORY = 14 |
the channel in a hub containing the listed servers | |
const | DCT_GUILD_FORUM = 15 |
Channel that can only contain threads. | |
const | DCT_GUILD_MEDIA = 16 |
Channel that can only contain threads, similar to GUILD_FORUM channels. | |
const | DCT_GUILD_STAGE_VOICE = 13 |
a voice channel for hosting events with an audience | |
const | DCT_GUILD_TEXT = 0 |
const | DCT_GUILD_VOICE = 2 |
a voice channel within a server | |
const | DCT_PRIVATE_THREAD = 12 |
a temporary sub-channel within a GUILD_TEXT channel | |
const | DCT_PUBLIC_THREAD = 11 |
a temporary sub-channel within a GUILD_TEXT or GUILD_FORUM channel | |
const | DMT_CROSSPOSTED = 1 << 0 |
const | DMT_EPHEMERAL = 1 << 6 |
this message is only visible to the user who invoked the Interaction | |
const | DMT_FAILED_TO_MENTION_SOME_ROLES_IN_THREAD = 1 << 8 |
this message failed to mention some roles and add their members to the thread | |
const | DMT_HAS_THREAD = 1 << 5 |
this message has an associated thread, with the same id as the message | |
const | DMT_IS_CROSSPOST = 1 << 1 |
this message originated from a message in another channel (via Channel Following) | |
const | DMT_IS_VOICE_MESSAGE = 1 << 13 |
this message is a voice message | |
const | DMT_LOADING = 1 << 7 |
this message is an Interaction Response and the bot is "thinking" | |
const | DMT_SOURCE_MESSAGE_DELETED = 1 << 3 |
the source message for this crosspost has been deleted (via Channel Following) | |
const | DMT_SUPPRESS_EMBEDS = 1 << 2 |
do not include any embeds when serializing this message | |
const | DMT_SUPPRESS_NOTIFICATIONS = 1 << 12 |
this message will not trigger push and desktop notifications | |
const | DMT_URGENT = 1 << 4 |
this message came from the urgent message system | |
const | DP_ADD_REACTIONS = (1 << 6) |
Allows for the addition of reactions to messages (channel type: T, V, S) | |
const | DP_ADMINISTRATOR = (1 << 3) |
Allows all permissions and bypasses channel permission overwrites (channel type: all) | |
const | DP_ATTACH_FILES = (1 << 15) |
Allows for uploading images and files (channel type: T, V, S) | |
const | DP_BAN_MEMBERS = (1 << 2) |
Allows banning members (channel type: all) | |
const | DP_CHANGE_NICKNAME = (1 << 26) |
Allows for modification of own nickname (channel type: all) | |
const | DP_CONNECT = (1 << 20) |
Allows for joining of a voice channel (channel type: V, S) | |
const | DP_CREATE_INSTANT_INVITE = (1 << 0) |
const | DP_CREATE_PRIVATE_THREADS = (1 << 36) |
Allows for creating private threads (channel type: T) | |
const | DP_CREATE_PUBLIC_THREADS = (1 << 35) |
Allows for creating public and announcement threads (channel type: T) | |
const | DP_DEAFEN_MEMBERS = (1 << 23) |
Allows for deafening of members in a voice channel (channel type: V) | |
const | DP_EMBED_LINKS = (1 << 14) |
Links sent by users with this permission will be auto-embedded (channel type: T, V, S) | |
const | DP_KICK_MEMBERS = (1 << 1) |
Allows kicking members (channel type: all) | |
const | DP_MANAGE_CHANNELS = (1 << 4) |
Allows management and editing of channels (channel type: T, V, S) | |
const | DP_MANAGE_EVENTS = (1 << 33) |
Allows for creating, editing, and deleting scheduled events (channel type: V, S) | |
const | DP_MANAGE_GUILD = (1 << 5) |
Allows management and editing of the guild (channel type: all) | |
const | DP_MANAGE_GUILD_EXPRESSIONS = (1 << 30) |
Allows management and editing of emojis, stickers, and soundboard sounds (channel type: all) | |
const | DP_MANAGE_MESSAGES = (1 << 13) |
Allows for deletion of other users messages (channel type: T, V, S) | |
const | DP_MANAGE_NICKNAMES = (1 << 27) |
Allows for modification of other users nicknames (channel type: all) | |
const | DP_MANAGE_ROLES = (1 << 28) |
Allows management and editing of roles (channel type: T, V, S) | |
const | DP_MANAGE_THREADS = (1 << 34) |
Allows for deleting and archiving threads, and viewing all private threads (channel type: T) | |
const | DP_MANAGE_WEBHOOKS = (1 << 29) |
Allows management and editing of webhooks (channel type: T, V, S) | |
const | DP_MENTION_EVERYONE = (1 << 17) |
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 (channel type: T, V, S) | |
const | DP_MODERATE_MEMBERS = (1 << 40) |
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 (channel type: all) | |
const | DP_MOVE_MEMBERS = (1 << 24) |
Allows for moving of members between voice channels (channel type: V, S) | |
const | DP_MUTE_MEMBERS = (1 << 22) |
Allows for muting members in a voice channel (channel type: V, S) | |
const | DP_PRIORITY_SPEAKER = (1 << 8) |
Allows for using priority speaker in a voice channel (channel type: V) | |
const | DP_READ_MESSAGE_HISTORY = (1 << 16) |
Allows for reading of message history (channel type: T, V, S) | |
const | DP_REQUEST_TO_SPEAK = (1 << 32) |
Allows for requesting to speak in stage channels. (This permission is under active development and may be changed or removed.) (channel type: S) | |
const | DP_SEND_MESSAGES = (1 << 11) |
Allows for sending messages in a channel and creating threads in a forum (does not allow sending messages in threads) (channel type: T, V, S) | |
const | DP_SEND_MESSAGES_IN_THREADS = (1 << 38) |
Allows for sending messages in threads (channel type: T) | |
const | DP_SEND_TTS_MESSAGES = (1 << 12) |
Allows for sending of /tts messages (channel type: T, V, S) | |
const | DP_SEND_VOICE_MESSAGES = (1 << 46) |
Allows sending voice messages (channel type: T, V, S) | |
const | DP_SPEAK = (1 << 21) |
Allows for speaking in a voice channel (channel type: V) | |
const | DP_STREAM = (1 << 9) |
Allows the user to go live (channel type: V, S) | |
const | DP_USE_APPLICATION_COMMANDS = (1 << 31) |
Allows members to use application commands, including slash commands and context menu commands. (channel type: T, V, S) | |
const | DP_USE_EMBEDDED_ACTIVITIES = (1 << 39) |
Allows for using Activities (applications with the EMBEDDED flag) in a voice channel (channel type: V) | |
const | DP_USE_EXTERNAL_EMOJIS = (1 << 18) |
Allows the usage of custom emojis from other servers (channel type: T, V, S) | |
const | DP_USE_EXTERNAL_SOUNDS = (1 << 45) |
Allows the usage of custom soundboard sounds from other servers (channel type: V) | |
const | DP_USE_EXTERNAL_STICKERS = (1 << 37) |
Allows the usage of custom stickers from other servers (channel type: T, V, S) | |
const | DP_USE_SOUNDBOARD = (1 << 42) |
Allows for using soundboard in a voice channel (channel type: V) | |
const | DP_USE_VAD = (1 << 25) |
Allows for using voice-activity-detection in a voice channel (channel type: V) | |
const | DP_VIEW_AUDIT_LOG = (1 << 7) |
Allows for viewing of audit logs (channel type: all) | |
const | DP_VIEW_CHANNEL = (1 << 10) |
Allows guild members to view a channel, which includes reading messages in text channels and joining voice channels (channel type: T, V, S) | |
const | DP_VIEW_CREATOR_MONETIZATION_ANALYTICS = (1 << 41) |
Allows for viewing role subscription insights (channel type: all) | |
const | DP_VIEW_GUILD_INSIGHTS = (1 << 19) |
Allows for viewing guild insights (channel type: all) | |
the DiscordRestClient namespace contains all the objects in the DiscordRestClient module