mirror of
https://github.com/arthur-pbty/bot-discord-coins.git
synced 2026-06-03 23:36:29 +02:00
Update dice (+lisible niveau code)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user