DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
An interface class for the guild_data related discord endpoints. More...
#include <GuildEntities.hpp>
Static Public Member Functions | |
static co_routine< guild_prune_count_data > | beginGuildPruneAsync (const begin_guild_prune_data dataPackage) |
For performing a pruning of the guild_members of the guild, based on days of inactivity. More... | |
static co_routine< guild_data > | createGuildAsync (const create_guild_data dataPackage) |
Creates a new guild. More... | |
static co_routine< void > | createGuildBanAsync (const create_guild_ban_data dataPackage) |
Bans a guild_member. More... | |
static co_routine< guild_data > | createGuildFromGuildTemplateAsync (const create_guild_from_guild_template_data dataPackage) |
Creates a guild from the guild template. More... | |
static co_routine< guild_template_data > | createGuildTemplateAsync (const create_guild_template_data dataPackage) |
Creates a guild template. More... | |
static co_routine< void > | deleteGuildAsync (const delete_guild_data dataPackage) |
Deletes a chosen guild. More... | |
static co_routine< void > | deleteGuildIntegrationAsync (const delete_guild_integration_data dataPackage) |
Deletes an integration from a guild. More... | |
static co_routine< void > | deleteGuildTemplateAsync (const delete_guild_template_data dataPackage) |
Deletes a guild template. More... | |
static co_routine< void > | deleteInviteAsync (const delete_invite_data dataPackage) |
Deletes an invite from the discord servers. More... | |
static jsonifier::vector< guild_data > | getAllGuildsAsync () |
Returns all of the guilds that the current bot is in. More... | |
static guild_cache_data | getCachedGuild (const get_guild_data dataPackage) |
Collects a guild from the library's cache. More... | |
static co_routine< jsonifier::vector< guild_data > > | getCurrentUserGuildsAsync (const get_current_user_guilds_data dataPackage) |
Collects a list of guilds that the bot is in. More... | |
static co_routine< guild_data > | getGuildAsync (const get_guild_data dataPackage) |
Collects a guild from the discord servers. More... | |
static co_routine< audit_log_data > | getGuildAuditLogsAsync (const get_guild_audit_logs_data dataPackage) |
Gets an audit log from the discord servers. More... | |
static co_routine< ban_data > | getGuildBanAsync (const get_guild_ban_data dataPackage) |
Collects a single ban from a chosen guild. More... | |
static co_routine< jsonifier::vector< ban_data > > | getGuildBansAsync (const get_guild_bans_data dataPackage) |
Collects a list of bans from a chosen guild. More... | |
static co_routine< jsonifier::vector< integration_data > > | getGuildIntegrationsAsync (const get_guild_integrations_data dataPackage) |
Gets the list of guild integrations for a particular server. More... | |
static co_routine< jsonifier::vector< invite_data > > | getGuildInvitesAsync (const get_guild_invites_data dataPackage) |
Gets multiple invites from the discord servers. More... | |
static co_routine< guild_preview_data > | getGuildPreviewAsync (const get_guild_preview_data dataPackage) |
Acquires the preview data of a chosen guild. More... | |
static co_routine< guild_prune_count_data > | getGuildPruneCountAsync (const get_guild_prune_count_data dataPackage) |
For collecting the guild prune count. More... | |
static co_routine< guild_template_data > | getGuildTemplateAsync (const get_guild_template_data dataPackage) |
Gets the guild template from a particular server. More... | |
static co_routine< jsonifier::vector< guild_template_data > > | getGuildTemplatesAsync (const get_guild_templates_data dataPackage) |
Collects a list of guild templates from a chosen guild. More... | |
static co_routine< invite_data > | getGuildVanityInviteAsync (const get_guild_vanity_invite_data dataPackage) |
Gets the vanity invite responseData from a particular server. More... | |
static co_routine< jsonifier::vector< voice_region_data > > | getGuildVoiceRegionsAsync (const get_guild_voice_regions_data dataPackage) |
Gets the list of voice regions for a particular server. More... | |
static co_routine< welcome_screen_data > | getGuildWelcomeScreenAsync (const get_guild_welcome_screen_data dataPackage) |
Gets the guild welcome screen for a particular server. More... | |
static co_routine< guild_widget_data > | getGuildWidgetAsync (const get_guild_widget_data dataPackage) |
Gets the guild widget for a particular server. More... | |
static co_routine< guild_widget_image_data > | getGuildWidgetImageAsync (const get_guild_widget_image_data dataPackage) |
Gets the guild widget image for a particular server. More... | |
static co_routine< guild_widget_data > | getGuildWidgetSettingsAsync (const get_guild_widget_settings_data dataPackage) |
Gets the guild widget's settings for a particular server. More... | |
static co_routine< invite_data > | getInviteAsync (const get_invite_data dataPackage) |
Gets an invite from the discord servers. More... | |
static co_routine< void > | leaveGuildAsync (const leave_guild_data dataPackage) |
Removes the bot from a chosen guild. More... | |
static co_routine< guild_data > | modifyGuildAsync (const modify_guild_data dataPackage) |
Modifies a chosen guild's properties. More... | |
static co_routine< guild_template_data > | modifyGuildTemplateAsync (const modify_guild_template_data dataPackage) |
Modifies a guild template. More... | |
static co_routine< welcome_screen_data > | modifyGuildWelcomeScreenAsync (const modify_guild_welcome_screen_data dataPackage) |
Modifies the guild welcome screen. More... | |
static co_routine< guild_widget_data > | modifyGuildWidgetAsync (const modify_guild_widget_data dataPackage) |
Modifies the guild widget for a particular server. More... | |
static co_routine< void > | removeGuildBanAsync (const remove_guild_ban_data dataPackage) |
Removes a previously created ban. More... | |
static co_routine< guild_template_data > | syncGuildTemplateAsync (const sync_guild_template_data dataPackage) |
Syncs a guild template. More... | |
|
static |
dataPackage | a begin_guild_prune_data structure. |
Definition at line 546 of file GuildEntities.cpp.
|
static |
dataPackage | a create_guild_data structure. |
Definition at line 362 of file GuildEntities.cpp.
|
static |
dataPackage | a create_guild_ban_data structure. |
Definition at line 488 of file GuildEntities.cpp.
|
static |
dataPackage | a create_guild_from_guild_template_data structure. |
Definition at line 726 of file GuildEntities.cpp.
|
static |
dataPackage | a create_guild_template_data structure. |
Definition at line 749 of file GuildEntities.cpp.
|
static |
dataPackage | a delete_guild_data structure. |
Definition at line 440 of file GuildEntities.cpp.
|
static |
dataPackage | a delete_guild_integration_data structure. |
Definition at line 595 of file GuildEntities.cpp.
|
static |
dataPackage | a delete_guild_template_data structure. |
Definition at line 784 of file GuildEntities.cpp.
|
static |
dataPackage | a delete_invite_data structure. |
Definition at line 822 of file GuildEntities.cpp.
|
static |
Definition at line 374 of file GuildEntities.cpp.
|
static |
dataPackage | a get_guild_data structure. |
Definition at line 400 of file GuildEntities.cpp.
|
static |
dataPackage | a get_current_user_guilds_data structure. |
Definition at line 835 of file GuildEntities.cpp.
|
static |
dataPackage | a get_guild_data structure. |
Definition at line 382 of file GuildEntities.cpp.
|
static |
dataPackage | a get_guild_audit_logs_data structure. |
Definition at line 324 of file GuildEntities.cpp.
|
static |
dataPackage | a get_guild_ban_data structure. |
Definition at line 477 of file GuildEntities.cpp.
|
static |
dataPackage | a get_guild_bans_data structure. |
Definition at line 450 of file GuildEntities.cpp.
|
static |
dataPackage | a get_guild_integrations_data structure. |
Definition at line 584 of file GuildEntities.cpp.
|
static |
dataPackage | a get_guild_invites_data structure. |
Definition at line 572 of file GuildEntities.cpp.
|
static |
dataPackage | a get_guild_preview_data structure. |
Definition at line 408 of file GuildEntities.cpp.
|
static |
dataPackage | a get_guild_prune_count_data structure. |
Definition at line 515 of file GuildEntities.cpp.
|
static |
dataPackage | a get_guild_template_data structure. |
Definition at line 715 of file GuildEntities.cpp.
|
static |
dataPackage | a get_guild_templates_data structure. |
Definition at line 738 of file GuildEntities.cpp.
|
static |
dataPackage | a get_guild_vanity_invite_data structure. |
Definition at line 645 of file GuildEntities.cpp.
|
static |
dataPackage | a get_guild_voice_regions_data structure. |
Definition at line 561 of file GuildEntities.cpp.
|
static |
dataPackage | a get_guild_welcome_screen_data structure. |
Definition at line 689 of file GuildEntities.cpp.
|
static |
dataPackage | a get_guild_widget_data structure. |
Definition at line 634 of file GuildEntities.cpp.
|
static |
dataPackage | a get_guild_widget_image_data structure. |
Definition at line 656 of file GuildEntities.cpp.
|
static |
dataPackage | a get_guild_widget_settings_data structure. |
Definition at line 608 of file GuildEntities.cpp.
|
static |
dataPackage | a get_invite_data structure. |
Definition at line 794 of file GuildEntities.cpp.
|
static |
dataPackage | a leave_guild_data structure. |
Definition at line 862 of file GuildEntities.cpp.
|
static |
dataPackage | a modify_guild_data structure. |
Definition at line 419 of file GuildEntities.cpp.
|
static |
dataPackage | a modify_guild_template_data structure. |
Definition at line 772 of file GuildEntities.cpp.
|
static |
dataPackage | a modify_guild_welcome_screen_data structure. |
Definition at line 700 of file GuildEntities.cpp.
|
static |
dataPackage | a modify_guild_widget_data structure. |
Definition at line 619 of file GuildEntities.cpp.
|
static |
dataPackage | a remove_guild_ban_data structure. |
Definition at line 502 of file GuildEntities.cpp.
|
static |
dataPackage | a sync_guild_template_data structure. |
Definition at line 761 of file GuildEntities.cpp.