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

Base class for the command classes. More...

#include <FoundationEntities.hpp>

Public Member Functions

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

Public Data Members

jsonifier::string commandName {}
 Name of the command for calling purposes.
 
jsonifier::string helpDescription {}
 Description of the command for the help command.
 
embed_data helpEmbed {}
 A message embed for displaying the command via the help command.
 

Member Function Documentation

◆ execute()

virtual void discord_core_api::base_function::execute ( const base_function_arguments args)
pure virtual
Parameters
argsa reference to an instance of base_function_arguments.

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