Update dice (+lisible niveau code)

This commit is contained in:
*x1
2024-06-14 08:12:03 +02:00
parent 1bb9a26574
commit 47dc1fec8b
+1 -1
View File
@@ -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()