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

For addin a RoleData to a GuildMember. More...

#include <RoleEntities.hpp>

Public Data Members

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

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