Locale adjustment
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
#define CURRENCY_NAME "The Night Coin"
|
||||
#define COMMAND_BALANCE_DESCRIPTION "See your balance of " CURRENCY_NAME
|
||||
#define COMMAND_BALANCE_RESPONSE(balance) \
|
||||
"You currently have " + balance + " " CURRENCY_NAME "(s)"
|
||||
|
@@ -17,5 +17,5 @@ void commandBalance(const dpp::slashcommand_t &event) {
|
||||
balance = balance.substr(begining, balance.find(';') - begining);
|
||||
}
|
||||
|
||||
event.reply("You have " + balance + " " + CURRENCY_NAME + "(s)");
|
||||
event.reply(COMMAND_BALANCE_RESPONSE(balance));
|
||||
}
|
||||
|
Reference in New Issue
Block a user