SQL, Language, Organising commands
This commit is contained in:
6
src/Commands.hpp
Normal file
6
src/Commands.hpp
Normal file
@@ -0,0 +1,6 @@
|
||||
#include <dpp/dispatcher.h>
|
||||
void commandPing(const dpp::slashcommand_t &event);
|
||||
|
||||
inline std::unordered_map<std::string,
|
||||
std::function<void(const dpp::slashcommand_t &event)>>
|
||||
Commands{{"ping", commandPing}};
|
Reference in New Issue
Block a user