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

For addin a Role to a GuildMember. More...

#include <RoleEntities.hpp>

Public Data Members

Snowflake guildId {}
 The id of the Guild within which to assign the Role.
 
std::string reason {}
 Reason for adding the GuildMember's Role.
 
Snowflake roleId {}
 The id of the Role to be assigned.
 
Snowflake userId {}
 The id of the User to whom to assign the Role.
 

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