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

A discord Guild. Used to connect to/disconnect from voice. More...

#include <GuildEntities.hpp>

Inheritance diagram for DiscordCoreAPI::Guild:
[legend]

Public Data Members

Snowflake afkChannelId {}
 Channel if of the "afk" Channel.
 
AfkTimeOutDurations afkTimeOut {}
 Time for an individual to time out as afk.
 
Snowflake applicationId {}
 The current application id.
 
int32_t approximateMemberCount { 0 }
 Approximate member count.
 
int32_t approximatePresenceCount { 0 }
 Approximate quantity of presences.
 
IconHash banner {}
 Url to the Guild's banner.
 
std::vector< Channelchannels {}
 Channels of the Guild.
 
DefaultMessageNotificationLevel defaultMessageNotifications {}
 Default Message notification level.
 
StringWrapper description {}
 Description of the Guild.
 
IconHash discoverySplash {}
 Link to the discovery image's splash.
 
std::vector< EmojiDataemoji {}
 Emoji of the Guild.
 
ExplicitContentFilterLevel explicitContentFilter {}
 Explicit content filtering level, by default.
 
std::vector< StringWrapper > features {}
 List of Guild features.
 
std::vector< GuildScheduledEventguildScheduledEvents {}
 Guild scheduled events of the Guild.
 
int32_t maxMembers { 0 }
 Max quantity of members.
 
int32_t maxPresences { 0 }
 Max number of presences allowed.
 
int32_t maxVideoChannelUsers { 0 }
 Maximum quantity of users per video Channel.
 
std::vector< GuildMembermembers {}
 Stickers of the Guild.
 
MFALevel mfaLevel {}
 MFA level.
 
GuildNSFWLevel nsfwLevel { GuildNSFWLevel::Default }
 NSFW warning level.
 
Permissions permissions {}
 Current Permissions for the bot in the Guild.
 
StringWrapper preferredLocale {}
 Preferred locale, for voice chat servers.
 
int32_t premiumSubscriptionCount { 0 }
 Premium subscription count.
 
PremiumTier premiumTier {}
 What is the premium tier?
 
std::unordered_map< uint64_t, PresenceUpdateDatapresences {}
 Map of presences for each GuildMember.
 
Snowflake publicUpdatesChannelId {}
 Id of the public updates Channel.
 
StringWrapper region {}
 Region of the world where the Guild's servers are.
 
std::vector< Roleroles {}
 Roles of the Guild.
 
Snowflake rulesChannelId {}
 Channel id for the Guild's rules Channel.
 
IconHash splash {}
 Url to the Guild's splash.
 
std::vector< StageInstancestageInstances {}
 Stage instaces of the Guild.
 
std::vector< Stickerstickers {}
 Stickers of the Guild.
 
SystemChannelFlags systemChannelFlags {}
 System Channel flags.
 
Snowflake systemChannelId {}
 Channel id for the Guild's system Channel.
 
std::vector< Channelthreads {}
 Threads of the Guild.
 
StringWrapper vanityUrlCode {}
 Vanity Url code, if applicable.
 
VerificationLevel verificationLevel {}
 Verification level required.
 
WelcomeScreenData welcomeScreen {}
 Welcome screen for the Guild.
 
Snowflake widgetChannelId {}
 Channel id for the Guild's widget.
 
- Public Data Members inherited from DiscordCoreAPI::GuildData
std::vector< Snowflakechannels {}
 Array of Guild channels.
 
DiscordCoreClientdiscordCoreClient { nullptr }
 A pointer to the DiscordCoreClient.
 
std::vector< Snowflakeemoji {}
 Array of Guild channels.
 
int8_t flags { 0 }
 Guild flags.
 
std::vector< SnowflakeguildScheduledEvents {}
 Array of Guild channels.
 
IconHash icon {}
 Url to the Guild's icon.
 
TimeStamp< std::chrono::milliseconds > joinedAt {}
 When the bot joined this Guild.
 
int32_t memberCount { 0 }
 Member count.
 
std::vector< Snowflakemembers {}
 Array of GuildMembers.
 
StringWrapper name {}
 The Guild's name.
 
Snowflake ownerId {}
 User id of the Guild's owner.
 
std::vector< PresenceUpdateDatapresences {}
 Presence states for each of the GuildMembers..
 
std::vector< Snowflakeroles {}
 Array of Guild roles.
 
std::vector< SnowflakestageInstances {}
 Array of Guild channels.
 
std::vector< Snowflakestickers {}
 Array of Guild channels.
 
std::vector< Snowflakethreads {}
 Array of Guild channels.
 
VoiceConnectionvoiceConnectionPtr { nullptr }
 A pointer to the VoiceConnection, if present.
 
- Public Data Members inherited from DiscordCoreAPI::DiscordEntity
Snowflake id {}
 

Additional Inherited Members

- Public Member Functions inherited from DiscordCoreAPI::GuildData
VoiceConnectionconnectToVoice (const Snowflake guildMemberId, const Snowflake channelId=Snowflake{ 0 }, bool selfDeaf=false, bool selfMute=false, StreamType streamType=StreamType::None, StreamInfo streamInfo=StreamInfo{})
 For connecting to an individual voice channel. More...
 
- Public Member Functions inherited from DiscordCoreAPI::DiscordEntity
std::string getCreatedAtTimestamp (TimeFormat timeFormat)
 Converts the snowflake-id into a time and date stamp. More...
 

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