mirror of
https://github.com/HappyTanuki/BumbleCee.git
synced 2025-10-26 01:45:15 +00:00
22 lines
430 B
C++
22 lines
430 B
C++
#pragma once
|
|
#include <dpp/dpp.h>
|
|
#include <vector>
|
|
#include <list>
|
|
|
|
class BumbleCeepp;
|
|
|
|
namespace commands {
|
|
class ICommand {
|
|
public:
|
|
ICommand(dpp::snowflake botID, BumbleCeepp* Bot)
|
|
{
|
|
this->botID = botID;
|
|
this->Bot = Bot;
|
|
}
|
|
virtual void operator()(const dpp::slashcommand_t &event) = 0;
|
|
|
|
std::vector<dpp::slashcommand> commandObjectVector;
|
|
dpp::snowflake botID;
|
|
BumbleCeepp* Bot;
|
|
};
|
|
} |