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

For pruning a number of GuildMembers from the Guild. More...

#include <GuildEntities.hpp>

Public Member Functions

 operator Jsonifier ()
 Number of days after which to prune a given GuildMember.
 

Public Data Members

bool computePruneCount { false }
 Roles to be included in the prune.
 
Snowflake guildId {}
 Guild within which to perform the prune.
 
std::string reason {}
 Whether 'pruned' is returned, discouraged for large guilds.
 

Member Data Documentation

◆ reason

std::string DiscordCoreAPI::BeginGuildPruneData::reason {}

Reason for pruning the GuildMembers.

Definition at line 131 of file GuildEntities.hpp.


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