SQL, Language, Organising commands

This commit is contained in:
2025-07-18 23:01:18 +03:00
parent b81b6580a9
commit e293909ffa
6 changed files with 71 additions and 6 deletions

6
src/Commands.hpp Normal file
View 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}};