Skip to content

Commit

Permalink
updated roulette response messages
Browse files Browse the repository at this point in the history
  • Loading branch information
vb2007 committed Aug 6, 2024
1 parent 982138c commit 75f687e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions commands/economy/roulette.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ module.exports = {
const randomNumber = randomOutcome.number;

if(!validColors.includes(guessedColor)) {
var replyContent = "The color you've chosen is invalid.\nPlease choose from *red*, *black* or *green*.";
var replyContent = "The color you've chosen is invalid.\nPlease choose from `red`, `black` or `green`.";
}
else if (guessedColor === randomColor) {
if (guessedColor === "green") {
Expand All @@ -72,7 +72,7 @@ module.exports = {
]
);

var replyContent = `The ball landed on **${format.formatRouletteColor(randomColor)} ${randomNumber}**.\nYour guess was **${format.formatRouletteColor(guessedColor)}**.\nYou hit the jackpot! :money_mouth:`;
var replyContent = `The ball landed on **${format.formatRouletteColor(randomColor)} ${randomNumber}**.\nYour guess was **${format.formatRouletteColor(guessedColor)}**.\nYou hit the jackpot, and won \`$${amount * 35}\`! :money_mouth:`;
}
else {
await db.query("UPDATE economy SET balance = balance + ?, lastRouletteTime = ? WHERE userId = ?",
Expand All @@ -83,7 +83,7 @@ module.exports = {
]
);

var replyContent = `The ball landed on **${format.formatRouletteColor(randomColor)} ${randomNumber}**.\nYour guess was **${format.formatRouletteColor(guessedColor)}** as well! :money_mouth:`;
var replyContent = `The ball landed on **${format.formatRouletteColor(randomColor)} ${randomNumber}**.\nYour guess was **${format.formatRouletteColor(guessedColor)}** as well!\nYou won \`$${amount * 2}\`. :money_mouth:`;
}
}
else {
Expand Down

0 comments on commit 75f687e

Please sign in to comment.