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

For addin a role_data to a guild_member. More...

#include <RoleEntities.hpp>

Public Data Members

snowflake guildId {}
 The id of the guild within which to assign the role_data.
 
jsonifier::string reason {}
 Reason for adding the guild_member_data's role_data.
 
snowflake roleId {}
 The id of the role_data to be assigned.
 
snowflake userId {}
 The id of the user_data to whom to assign the role_data.
 

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