droplet 1.3.0
A multipurpose Discord bot with the hacker in mind
Loading...
Searching...
No Matches
LearnCPPCommand Class Reference

#include <LearnCPPCommand.hpp>

Inheritance diagram for LearnCPPCommand:
Collaboration diagram for LearnCPPCommand:

Public Member Functions

 LearnCPPCommand (AppContext &ctx)
void on_slashcommand (const dpp::slashcommand_t &event) override
Public Member Functions inherited from IGlobalSlashCommand
virtual ~IGlobalSlashCommand ()=default

Static Public Attributes

static constexpr std::string_view k_name {"learn_cpp"}
static constexpr std::string_view k_description {"Get started learning modern C++ today!"}

Additional Inherited Members

Public Attributes inherited from IGlobalSlashCommand
std::string command_name
std::string command_description
std::vector< dpp::command_option > command_options
bool admin_only {false}

Constructor & Destructor Documentation

◆ LearnCPPCommand()

LearnCPPCommand::LearnCPPCommand ( AppContext & ctx)
explicit

Member Function Documentation

◆ on_slashcommand()

void LearnCPPCommand::on_slashcommand ( const dpp::slashcommand_t & event)
overridevirtual

Implements IGlobalSlashCommand.

Member Data Documentation

◆ k_description

std::string_view LearnCPPCommand::k_description {"Get started learning modern C++ today!"}
staticconstexpr

◆ k_name

std::string_view LearnCPPCommand::k_name {"learn_cpp"}
staticconstexpr

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