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

For modifying a GuildMember's values. More...

#include <GuildMemberEntities.hpp>

Public Data Members

TimeStamp communicationDisabledUntil {}
 When the user's timeout will expire and the user will be able to communicate in the guild again.
Snowflake currentChannelId {}
 The current voice Channel, if applicaple.
bool deaf {}
 Whether or not to deafen them, in voice.
Snowflake guildId {}
 The id of the Guild for which you would like to modify a member.
Snowflake guildMemberId {}
 The user id of the desired Guild memeber.
bool mute {}
 Whether or not to mute them in voice.
Snowflake newVoiceChannelId {}
 The new voice Channel to move them into.
std::string nick {}
 Their new display/nick name.
std::string reason {}
 Reason for modifying this GuildMember.
std::vector< Snowflake > roleIds {}
 A collection of Role id's to be applied to them.

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