![]() |
DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
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. | |
|
pure virtual |
args | a reference to an instance of base_function_arguments. |