Skip to content

Commit

Permalink
renamed helper, added first call
Browse files Browse the repository at this point in the history
  • Loading branch information
vb2007 committed Aug 5, 2024
1 parent d5ed8c0 commit eac708a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion commands/economy/roulette.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
const { EmbedBuilder, SlashCommandBuilder, embedLength, Embed } = require("discord.js");
const { logToFileAndDatabase } = require("../../logger");
const format = require("../../helpers/format");
const db = require("../../db");

module.exports = {
Expand Down Expand Up @@ -61,7 +62,7 @@ module.exports = {
]
);

var replyContent = `The ball landed on ${randomColor} ${randomNumber}.\nYour guess was ${randomColor} as well! :money_mouth:`;
var replyContent = `The ball landed on **${capitalizeFirstLetter(randomColor)} ${randomNumber}**.\nYour guess was ${randomColor} as well! :money_mouth:`;
break;
case "red" || "black" || "green":
await db.query("UPDATE economy SET balance = balance - ? WHERE userId = ?",
Expand Down
File renamed without changes.

0 comments on commit eac708a

Please sign in to comment.