![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
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. | |