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

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

#include <GuildMemberEntities.hpp>

Public Data Members

std::string 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 ChannelData, 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 ChannelData to move them into.
 
std::string nick {}
 Their new display/nick name.
 
std::string reason {}
 Reason for modifying this GuildMemberData.
 
jsonifier::vector< SnowflakeroleIds {}
 A collection of RoleData id's to be applied to them.
 

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