Locale adjustment

This commit is contained in:
2025-07-19 01:19:47 +03:00
parent a0468758ad
commit 4fc1508c10
2 changed files with 3 additions and 1 deletions

View File

@@ -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)"

View File

@@ -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));
}