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

An interface class for the AutoModerationRule related Discord endpoints. More...

#include <AutoModerationEntities.hpp>

Public Member Functions

CoRoutine< AutoModerationRulecreateAutoModerationRuleAsync (CreateAutoModerationRuleData dataPackage)
 Create a particular Auto-Moderation-Rule.
 
CoRoutine< void > deleteAutoModerationRuleAsync (DeleteAutoModerationRuleData dataPackage)
 Delete a particular Auto-Moderation-Rule.
 
CoRoutine< AutoModerationRulegetAutoModerationRuleAsync (GetAutoModerationRuleData dataPackage)
 Get a particular Auto-Moderation-Rule.
 
CoRoutine< std::vector< AutoModerationRule > > listAutoModerationRulesForGuildAsync (ListAutoModerationRulesForGuildData dataPackage)
 Get all of the Guild's Auto-Moderation-Rules.
 
CoRoutine< AutoModerationRulemodifyAutoModerationRuleAsync (ModifyAutoModerationRuleData dataPackage)
 Modify a particular Auto-Moderation-Rule.
 

Member Function Documentation

◆ createAutoModerationRuleAsync()

CoRoutine< AutoModerationRule > DiscordCoreAPI::AutoModerationRules::createAutoModerationRuleAsync ( CreateAutoModerationRuleData  dataPackage)
Returns
A CoRoutine containing a AutoModerationRule.

Definition at line 195 of file AutoModerationEntities.cpp.

◆ deleteAutoModerationRuleAsync()

CoRoutine< void > DiscordCoreAPI::AutoModerationRules::deleteAutoModerationRuleAsync ( DeleteAutoModerationRuleData  dataPackage)
Returns
A CoRoutine containing a void.

Definition at line 219 of file AutoModerationEntities.cpp.

◆ getAutoModerationRuleAsync()

CoRoutine< AutoModerationRule > DiscordCoreAPI::AutoModerationRules::getAutoModerationRuleAsync ( GetAutoModerationRuleData  dataPackage)
Returns
A CoRoutine containing a AutoModerationRule.

Definition at line 186 of file AutoModerationEntities.cpp.

◆ listAutoModerationRulesForGuildAsync()

CoRoutine< std::vector< AutoModerationRule > > DiscordCoreAPI::AutoModerationRules::listAutoModerationRulesForGuildAsync ( ListAutoModerationRulesForGuildData  dataPackage)
Returns
A CoRoutine containing a vector<AutoModerationRule>.

Definition at line 176 of file AutoModerationEntities.cpp.

◆ modifyAutoModerationRuleAsync()

CoRoutine< AutoModerationRule > DiscordCoreAPI::AutoModerationRules::modifyAutoModerationRuleAsync ( ModifyAutoModerationRuleData  dataPackage)
Returns
A CoRoutine containing a AutoModerationRule.

Definition at line 207 of file AutoModerationEntities.cpp.


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