DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
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< snowflake > | roles {} |
Array of role_data ids the member is assigned. | |
snowflake | userId {} |
The user_data id of the user you wish to add. | |