mirror of
https://github.com/arthur-pbty/bot-discord-coins.git
synced 2026-06-17 16:09:15 +02:00
Update : roll.js => reply time
This commit is contained in:
@@ -83,7 +83,7 @@ module.exports = {
|
||||
const embed = new EmbedBuilder()
|
||||
.setTitle('🎲 Roulette')
|
||||
.setImage('https://images-ext-1.discordapp.net/external/Zz7GmmFoFdFRB7GCjiJGaDHDjJi8noOLY8zasCmUOGQ/https/media.giphy.com/media/26uflBhaGt5lQsaCA/giphy.gif')
|
||||
.setDescription(`Vous avez misé \`${args[0]}\` sur \`${args[1]}\`. La bille tourne...\nRésultat dans 10 secondes...`)
|
||||
.setDescription(`Vous avez misé \`${args[0]}\` sur \`${args[1]}\`. La bille tourne...\nRésultat dans 5 secondes...`)
|
||||
.setColor(color)
|
||||
.setTimestamp()
|
||||
.setFooter({ text: `Demandé par ${message.author.tag}`, iconURL: message.author.displayAvatarURL() })
|
||||
@@ -91,7 +91,7 @@ module.exports = {
|
||||
return message.reply({ embeds: [embed], allowedMentions: { repliedUser: false } })
|
||||
});
|
||||
|
||||
await new Promise(resolve => setTimeout(resolve, 10000));
|
||||
await new Promise(resolve => setTimeout(resolve, 5000));
|
||||
|
||||
const result = Math.floor(Math.random() * 37);
|
||||
let colorR = '';
|
||||
|
||||
Reference in New Issue
Block a user