Major reordering of the bot
This commit is contained in:
17
src/Commands.cpp
Normal file
17
src/Commands.cpp
Normal 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}};
|
Reference in New Issue
Block a user