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

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

#include <GuildMemberEntities.hpp>

Public Data Members

jsonifier::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 channel_data, 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_data to move them into.
 
jsonifier::string nick {}
 Their new display/nick name.
 
jsonifier::string reason {}
 Reason for modifying this guild_member_data.
 
jsonifier::vector< snowflakeroleIds {}
 A collection of role_data id's to be applied to them.
 

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