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

Base class for the command classes. More...

#include <FoundationEntities.hpp>

Public Member Functions

virtual void execute (BaseFunctionArguments &args)=0
 The base function for the command's execute function. More...
 

Public Data Members

std::string commandName {}
 Name of the command for calling purposes.
 
std::string helpDescription {}
 Description of the command for the Help command.
 
EmbedData helpEmbed {}
 A Message embed for displaying the command via the Help command.
 

Member Function Documentation

◆ execute()

virtual void DiscordCoreAPI::BaseFunction::execute ( BaseFunctionArguments args)
pure virtual

The base function for the command's execute function.

Parameters
argsA reference to an instance of BaseFunctionArguments.

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