Added bot parameter to all methods and get_pfp
This commit is contained in:
@@ -3,8 +3,9 @@
|
||||
#include "Commands/OtherCommands.cpp"
|
||||
|
||||
// Registry
|
||||
std::unordered_map<std::string,
|
||||
std::function<void(const dpp::slashcommand_t &event)>>
|
||||
std::unordered_map<
|
||||
std::string,
|
||||
std::function<void(const dpp::slashcommand_t &event, dpp::cluster &bot)>>
|
||||
Commands{{"ping", commandPing},
|
||||
{"about", commandAbout},
|
||||
{"balance", commandBalance},
|
||||
@@ -12,4 +13,5 @@ std::unordered_map<std::string,
|
||||
{"pay", commandPay},
|
||||
{"print_money", commandPrintMoney},
|
||||
{"burn_money", commandBurnMoney},
|
||||
{"money_leaderboard", commandMoneyLeaderboard}};
|
||||
{"money_leaderboard", commandMoneyLeaderboard},
|
||||
{"get_pfp", commandGetPFP}};
|
||||
|
Reference in New Issue
Block a user