Major reordering of the bot

This commit is contained in:
2025-07-19 16:37:48 +03:00
parent 24c82ee668
commit a29587d0cb
10 changed files with 61 additions and 47 deletions

17
src/Commands.cpp Normal file
View File

@@ -0,0 +1,17 @@
#pragma once
// Unity Build
#include "Commands/MoneyCommands.cpp"
#include "Commands/OtherCommands.cpp"
// Registry
std::unordered_map<std::string,
std::function<void(const dpp::slashcommand_t &event)>>
Commands{{"ping", commandPing},
{"about", commandAbout},
{"balance", commandBalance},
{"bal", commandBalance},
{"pay", commandPay},
{"print_money", commandPrintMoney},
{"burn_money", commandBurnMoney},
{"money_leaderboard", commandMoneyLeaderboard}};