droplet 1.1.0
A multipurpose Discord bot with the hacker in mind
Loading...
Searching...
No Matches
IGlobalSlashCommand.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <appcommand.h>
4#include <dpp/cluster.h>
5#include <dpp/dispatcher.h>
6
7#include <vector>
8
10 public:
11 std::string command_name;
13 std::vector<dpp::command_option> command_options;
14
15 virtual void on_slashcommand(const dpp::slashcommand_t& event) = 0;
16};
Definition IGlobalSlashCommand.hpp:9
virtual void on_slashcommand(const dpp::slashcommand_t &event)=0
std::string command_description
Definition IGlobalSlashCommand.hpp:12
std::vector< dpp::command_option > command_options
Definition IGlobalSlashCommand.hpp:13
std::string command_name
Definition IGlobalSlashCommand.hpp:11