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

#include <SetNotificationCommand.hpp>

Inheritance diagram for SetNotificationCommand:
Collaboration diagram for SetNotificationCommand:

Public Member Functions

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

Static Public Attributes

static constexpr std::string_view k_name {"youtube_uploads"}
static constexpr std::string_view k_description {"Get notifications about youtube uploads to discord (Admin only!)"}

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

◆ SetNotificationCommand()

SetNotificationCommand::SetNotificationCommand ( AppContext & ctx)
explicit

Member Function Documentation

◆ on_ready()

void SetNotificationCommand::on_ready ( const dpp::ready_t & event)
overridevirtual

Implements IReady.

◆ on_slashcommand()

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

Implements IGlobalSlashCommand.

Member Data Documentation

◆ k_description

std::string_view SetNotificationCommand::k_description {"Get notifications about youtube uploads to discord (Admin only!)"}
staticconstexpr

◆ k_name

std::string_view SetNotificationCommand::k_name {"youtube_uploads"}
staticconstexpr

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