DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
Data structure representing a single guild, for the purposes of populating the cache. More...
#include <FoundationEntities.hpp>
Public Member Functions | |
void | disconnect () |
For disconnecting from the current guild's voice channel. | |
Public Member Functions inherited from discord_core_api::connect_to_voice< guild_cache_data, discord_core_client, guild_members > | |
voice_connection & | connectToVoice (const snowflake guildMemberId, const snowflake channelId=0, bool selfDeaf=false, bool selfMute=false, stream_info streamInfoNew=stream_info{}) |
For connecting to an individual voice channel. More... | |
Public Data Members | |
icon_hash | banner {} |
Url to the guild's icon. | |
jsonifier::vector< snowflake > | channels {} |
Array of guild channels. | |
icon_hash | discovery {} |
Url to the guild's icon. | |
icon_hash | discoverySplash {} |
Url to the guild's icon. | |
jsonifier::vector< snowflake > | emoji {} |
Array of guild channels. | |
guild_flags | flags {} |
Guild flags. | |
icon_hash | icon {} |
Url to the guild's icon. | |
snowflake | id {} |
The id of this guild. | |
time_stamp | joinedAt {} |
When the bot joined this guild. | |
uint32_t | memberCount {} |
Member count. | |
jsonifier::vector< snowflake > | members {} |
Array of guild_members. | |
jsonifier::string | name {} |
The guild's name. | |
snowflake | ownerId {} |
User_data id of the guild's owner. | |
jsonifier::vector< snowflake > | roles {} |
Array of guild roles. | |
icon_hash | splash {} |
Url to the guild's icon. | |
voice_connection * | voiceConnection {} |
A pointer to the voice_connection, if present. | |