DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
Loading...
Searching...
No Matches
discord_core_api::guild_cache_data Class Reference

Data structure representing a single guild, for the purposes of populating the cache. More...

#include <FoundationEntities.hpp>

Inheritance diagram for discord_core_api::guild_cache_data:
[legend]

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_connectionconnectToVoice (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< snowflakechannels {}
 Array of guild channels.
 
icon_hash discovery {}
 Url to the guild's icon.
 
icon_hash discoverySplash {}
 Url to the guild's icon.
 
jsonifier::vector< snowflakeemoji {}
 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< snowflakemembers {}
 Array of guild_members.
 
jsonifier::string name {}
 The guild's name.
 
snowflake ownerId {}
 User_data id of the guild's owner.
 
jsonifier::vector< snowflakeroles {}
 Array of guild roles.
 
icon_hash splash {}
 Url to the guild's icon.
 
voice_connectionvoiceConnection {}
 A pointer to the voice_connection, if present.
 

The documentation for this class was generated from the following files: