Merge branch 'main' into 'main'

Fix grammatical error in balance command

See merge request zyner/xyter/bot!5
This commit is contained in:
Elis Odenhage 2024-03-14 18:57:18 +01:00
commit 1d42b8078f

View file

@ -64,7 +64,7 @@ const getAccountBalanceDescription = (
) => {
let description = `${
isUserCheckAccount ? "You" : checkAccount
} currently have ${creditAccount.balance} credits. 💰\n\n`;
} currently ${ isUserCheckAccount ? "have" : "has" } ${creditAccount.balance} credits. 💰\n\n`;
if (creditAccount.balance === 0) {
description += `${possessivePronoun} wallet is empty. Encourage ${