Using macro for command names
This commit is contained in:
@@ -5,9 +5,11 @@
|
||||
#define CURRENCY_NAME "Night Coin"
|
||||
|
||||
// Command ping
|
||||
#define COMMAND_PING "ping"
|
||||
#define COMMAND_PING_DESCRIPTION "Ping-pong test"
|
||||
|
||||
// Command get_pfp
|
||||
#define COMMAND_GET_PFP "get_pfp"
|
||||
#define COMMAND_GET_PFP_DESCRIPTION \
|
||||
"Get someone elses profile picture as an image"
|
||||
#define COMMAND_GET_PFP_ARGS_USER \
|
||||
@@ -25,6 +27,7 @@
|
||||
") and their [server profile picture](" + guildpfp + ")"
|
||||
|
||||
// Command about
|
||||
#define COMMAND_ABOUT "about"
|
||||
#define COMMAND_ABOUT_DESCRIPTION "Info about the bot"
|
||||
#define COMMAND_ABOUT_RESPONSE \
|
||||
"## " BOT_NAME " " BOT_VERSION \
|
||||
@@ -33,6 +36,8 @@
|
||||
"[D++](<https://dpp.dev/>) and tears."
|
||||
|
||||
// Command balance/bal
|
||||
#define COMMAND_BALANCE "balance"
|
||||
#define COMMAND_BALANCE_SHORT "bal"
|
||||
#define COMMAND_BALANCE_DESCRIPTION "See someone's balance of " CURRENCY_NAME
|
||||
#define COMMAND_BALANCE_USER_DESCRIPTION \
|
||||
"Leave this blank if you want to see your own balance"
|
||||
@@ -42,6 +47,7 @@
|
||||
"<@!" + person + "> currently has " + balance + " " CURRENCY_NAME "(s)"
|
||||
|
||||
// Command pay
|
||||
#define COMMAND_PAY "pay"
|
||||
#define COMMAND_PAY_DESCRIPTION "Send someone some amount of " CURRENCY_NAME "s"
|
||||
#define COMMAND_PAY_ARGS_USER_DESCRIPTION "Who do you want to pay"
|
||||
#define COMMAND_PAY_ARGS_AMOUNT_DESCRIPTION "How much do you want to pay"
|
||||
@@ -52,6 +58,7 @@
|
||||
"Successfully sent <@!" + recipient + "> " + amount + " " CURRENCY_NAME "(s)!"
|
||||
|
||||
// Command print_money
|
||||
#define COMMAND_PRINT_MONEY "print_money"
|
||||
#define COMMAND_PRINT_DESCRIPTION "Allows the admin to print money on-demand"
|
||||
#define COMMAND_PRINT_ARGS_AMOUNT_DESCRIPTION "How much are we printing boss?"
|
||||
#define COMMAND_PRINT_FAIL_NO_PRIVILIEGE(recipient) \
|
||||
@@ -61,6 +68,7 @@
|
||||
recipient + "> !"
|
||||
|
||||
// Command burn_money
|
||||
#define COMMAND_BURN_MONEY "burn_money"
|
||||
#define COMMAND_BURN_DESCRIPTION \
|
||||
"Allows the admin to burn money, burn baby burn!"
|
||||
#define COMMAND_BURN_ARGS_AMOUNT_DESCRIPTION "How much are we burning?"
|
||||
@@ -73,6 +81,7 @@
|
||||
recipient + "> !"
|
||||
|
||||
// Command money_leaderboard
|
||||
#define COMMAND_MONEY_LEADERBOARD "money_leaderboard"
|
||||
#define COMMAND_MONEY_LEADERBOARD_DESCRIPTION \
|
||||
"See who are the wealthiest members of the server, and who are... less " \
|
||||
"fortunate."
|
||||
|
Reference in New Issue
Block a user