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

For adding a new GuildMember to a chosen Guild. More...

#include <GuildMemberEntities.hpp>

Public Data Members

std::string accessToken {}
 An oauth2 access token granted with the guilds.join to the bot's application for the user you want to add.
 
bool deaf {}
 Whether the user is deafened in voice channels.
 
Snowflake guildId {}
 The Guild to add the new GuildMember to.
 
bool mute {}
 Whether the user is muted in voice channels.
 
std::string nick {}
 Value to set users nickname to.
 
std::vector< Snowflake > roles {}
 Array of Role ids the member is assigned.
 
Snowflake userId {}
 The User id of the user you wish to add.
 

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