DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
An interface class for the auto_moderation_rule_data related discord endpoints. More...
#include <AutoModerationEntities.hpp>
Public Member Functions | |
co_routine< auto_moderation_rule_data > | createAutoModerationRuleAsync (const create_auto_moderation_rule_data dataPackage) |
Create a particular auto-moderation-rule. More... | |
co_routine< void > | deleteAutoModerationRuleAsync (const delete_auto_moderation_rule_data dataPackage) |
Delete a particular auto-moderation-rule. More... | |
co_routine< auto_moderation_rule_data > | getAutoModerationRuleAsync (const get_auto_moderation_rule_data dataPackage) |
Get a particular auto-moderation-rule. More... | |
co_routine< jsonifier::vector< auto_moderation_rule_data > > | listAutoModerationRulesForGuildAsync (const list_auto_moderation_rules_for_guild_data dataPackage) |
Get all of the guild's auto-moderation-rules. More... | |
co_routine< auto_moderation_rule_data > | modifyAutoModerationRuleAsync (const modify_auto_moderation_rule_data dataPackage) |
Modify a particular auto-moderation-rule. More... | |
co_routine< auto_moderation_rule_data > discord_core_api::auto_moderation_rules::createAutoModerationRuleAsync | ( | const create_auto_moderation_rule_data | dataPackage | ) |
dataPackage | the moderation rule data to create. |
Definition at line 80 of file AutoModerationEntities.cpp.
co_routine< void > discord_core_api::auto_moderation_rules::deleteAutoModerationRuleAsync | ( | const delete_auto_moderation_rule_data | dataPackage | ) |
dataPackage | the moderation rule data to delete. |
Definition at line 104 of file AutoModerationEntities.cpp.
co_routine< auto_moderation_rule_data > discord_core_api::auto_moderation_rules::getAutoModerationRuleAsync | ( | const get_auto_moderation_rule_data | dataPackage | ) |
dataPackage | the moderation rule data to get. |
Definition at line 69 of file AutoModerationEntities.cpp.
co_routine< jsonifier::vector< auto_moderation_rule_data > > discord_core_api::auto_moderation_rules::listAutoModerationRulesForGuildAsync | ( | const list_auto_moderation_rules_for_guild_data | dataPackage | ) |
dataPackage | the moderation rule data to get. |
Definition at line 58 of file AutoModerationEntities.cpp.
co_routine< auto_moderation_rule_data > discord_core_api::auto_moderation_rules::modifyAutoModerationRuleAsync | ( | const modify_auto_moderation_rule_data | dataPackage | ) |
dataPackage | the moderation rule data to apply. |
Definition at line 92 of file AutoModerationEntities.cpp.