droplet
1.3.0
A multipurpose Discord bot with the hacker in mind
Toggle main menu visibility
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
>
5
#include <
IGlobalSlashCommand.hpp
>
6
#include <
IMessageCommand.hpp
>
7
#include <
IReactionCommand.hpp
>
8
#include <
IReady.hpp
>
9
#include <map>
10
#include <memory>
11
#include <string>
12
#include <vector>
13
14
using
ctx_t
= std::unique_ptr<dpp::cluster>;
15
using
slash_commands_t
= std::map<std::string, std::shared_ptr<IGlobalSlashCommand>>;
16
using
button_commands_t
= std::vector<std::shared_ptr<IButtonCommand>>;
17
using
form_commands_t
= std::vector<std::shared_ptr<IFormCommand>>;
18
using
message_commands_t
= std::vector<std::shared_ptr<IMessageCommand>>;
19
using
reaction_commands_t
= std::vector<std::shared_ptr<IReactionCommand>>;
20
using
ready_commands_t
= std::vector<std::shared_ptr<IReady>>;
form_commands_t
std::vector< std::shared_ptr< IFormCommand > > form_commands_t
Definition
CommandTypes.hpp:17
button_commands_t
std::vector< std::shared_ptr< IButtonCommand > > button_commands_t
Definition
CommandTypes.hpp:16
slash_commands_t
std::map< std::string, std::shared_ptr< IGlobalSlashCommand > > slash_commands_t
Definition
CommandTypes.hpp:15
ctx_t
std::unique_ptr< dpp::cluster > ctx_t
Definition
CommandTypes.hpp:14
reaction_commands_t
std::vector< std::shared_ptr< IReactionCommand > > reaction_commands_t
Definition
CommandTypes.hpp:19
message_commands_t
std::vector< std::shared_ptr< IMessageCommand > > message_commands_t
Definition
CommandTypes.hpp:18
ready_commands_t
std::vector< std::shared_ptr< IReady > > ready_commands_t
Definition
CommandTypes.hpp:20
IButtonCommand.hpp
IFormCommand.hpp
IGlobalSlashCommand.hpp
IMessageCommand.hpp
IReactionCommand.hpp
IReady.hpp
src
bot_library
bot
include
CommandTypes.hpp
Generated by
1.18.0