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

For adding a new guild_member_data to a chosen guild. More...

#include <GuildMemberEntities.hpp>

Public Data Members

jsonifier::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 guild_member_data to.
 
bool mute {}
 Whether the user is muted in voice channels.
 
jsonifier::string nick {}
 Value to set users nickname to.
 
jsonifier::vector< snowflakeroles {}
 Array of role_data ids the member is assigned.
 
snowflake userId {}
 The user_data id of the user you wish to add.
 

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