droplet 1.3.0
A multipurpose Discord bot with the hacker in mind
Loading...
Searching...
No Matches
CommandTypes.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <IButtonCommand.hpp>
4#include <IFormCommand.hpp>
6#include <IMessageCommand.hpp>
8#include <IReady.hpp>
9#include <map>
10#include <memory>
11#include <string>
12#include <vector>
13
14using ctx_t = std::unique_ptr<dpp::cluster>;
15using slash_commands_t = std::map<std::string, std::shared_ptr<IGlobalSlashCommand>>;
16using button_commands_t = std::vector<std::shared_ptr<IButtonCommand>>;
17using form_commands_t = std::vector<std::shared_ptr<IFormCommand>>;
18using message_commands_t = std::vector<std::shared_ptr<IMessageCommand>>;
19using reaction_commands_t = std::vector<std::shared_ptr<IReactionCommand>>;
20using ready_commands_t = std::vector<std::shared_ptr<IReady>>;
std::vector< std::shared_ptr< IFormCommand > > form_commands_t
Definition CommandTypes.hpp:17
std::vector< std::shared_ptr< IButtonCommand > > button_commands_t
Definition CommandTypes.hpp:16
std::map< std::string, std::shared_ptr< IGlobalSlashCommand > > slash_commands_t
Definition CommandTypes.hpp:15
std::unique_ptr< dpp::cluster > ctx_t
Definition CommandTypes.hpp:14
std::vector< std::shared_ptr< IReactionCommand > > reaction_commands_t
Definition CommandTypes.hpp:19
std::vector< std::shared_ptr< IMessageCommand > > message_commands_t
Definition CommandTypes.hpp:18
std::vector< std::shared_ptr< IReady > > ready_commands_t
Definition CommandTypes.hpp:20