From 47dc1fec8b95518e4f2f5285d567968bc362b48a Mon Sep 17 00:00:00 2001 From: *x1 Date: Fri, 14 Jun 2024 08:12:03 +0200 Subject: [PATCH] Update dice (+lisible niveau code) --- commands/jeux/dice.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/jeux/dice.js b/commands/jeux/dice.js index 4be0156..bb48d5e 100644 --- a/commands/jeux/dice.js +++ b/commands/jeux/dice.js @@ -11,6 +11,7 @@ module.exports = { async execute(message, args, client) { let mise = 0 + let face = `${args[1]}\` et \`${args[2]}` const pocket = await new Promise((resolve, reject) => { db.get(`SELECT pocket FROM users WHERE userId = ? AND guildId = ?`, [message.author.id, message.guild.id], (err, row) => { if (err) { @@ -53,7 +54,6 @@ module.exports = { }); return } - let face = `${args[1]}\` et \`${args[2]}` if (isNaN(args[0]) && !args[0] == "all") { embedColor(message.author.id, message.guild.id).then(color => { const embed = new EmbedBuilder()