DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
An interface class for the guild_member_data related discord endpoints. More...
#include <GuildMemberEntities.hpp>
Static Public Member Functions | |
static co_routine< guild_member_data > | addGuildMemberAsync (const add_guild_member_data dataPackage) |
Adds a guild_member to a chosen guild. More... | |
static guild_member_cache_data | getCachedGuildMember (const get_guild_member_data dataPackage) |
Collects a guild_member from the library's cache. More... | |
static co_routine< guild_member_data > | getGuildMemberAsync (const get_guild_member_data dataPackage) |
Collects a guild_member from the discord servers. More... | |
static voice_state_data_light | getVoiceStateData (const two_id_key &voiceState) |
Collect a given guild_member's voice state data. More... | |
static co_routine< jsonifier::vector< guild_member_data > > | listGuildMembersAsync (const list_guild_members_data dataPackage) |
Lists all of the guild_members of a chosen guild. More... | |
static co_routine< guild_member_data > | modifyCurrentGuildMemberAsync (const modify_current_guild_member_data dataPackage) |
Modifies the current guild_member_data's properties. More... | |
static co_routine< guild_member_data > | modifyGuildMemberAsync (const modify_guild_member_data dataPackage) |
Modifies a guild_member's properties. More... | |
static co_routine< void > | removeGuildMemberAsync (const remove_guild_member_data dataPackage) |
Removes a chosen guild_member_data from a chosen guild. More... | |
static co_routine< jsonifier::vector< guild_member_data > > | searchGuildMembersAsync (const search_guild_members_data dataPackage) |
Searches for a list of guild_members of a chosen guild. More... | |
static co_routine< guild_member_data > | timeoutGuildMemberAsync (const timeout_guild_member_data dataPackage) |
Times-out a chosen guild_member_data from a chosen guild. More... | |
|
static |
dataPackage | an add_guild_member_data structure. |
Definition at line 221 of file GuildMemberEntities.cpp.
|
static |
dataPackage | a get_guild_member_data structure. |
Definition at line 171 of file GuildMemberEntities.cpp.
|
static |
dataPackage | a get_guild_member_data structure. |
Definition at line 151 of file GuildMemberEntities.cpp.
|
static |
voiceState | A two-id-key representing their user-id and guild-id. |
Definition at line 340 of file GuildMemberEntities.cpp.
|
static |
dataPackage | a list_guild_members_data structure. |
Definition at line 183 of file GuildMemberEntities.cpp.
|
static |
dataPackage | a modify_current_guild_member_data structure. |
Definition at line 233 of file GuildMemberEntities.cpp.
|
static |
dataPackage | a modify_guild_member_data structure. |
Definition at line 248 of file GuildMemberEntities.cpp.
|
static |
dataPackage | a remove_guild_member_data structure. |
Definition at line 272 of file GuildMemberEntities.cpp.
|
static |
dataPackage | a search_guild_members_data structure. |
Definition at line 202 of file GuildMemberEntities.cpp.
|
static |
dataPackage | a timeout_guild_member_data structure. |
Definition at line 285 of file GuildMemberEntities.cpp.