mirror of
https://github.com/TheShadowEevee/Konpeki-Discord-Bot.git
synced 2025-01-11 14:38:49 -06:00
Allow reference in the singular for a 1 die roll
This commit is contained in:
parent
08561a856a
commit
9cee18dcdd
1 changed files with 6 additions and 1 deletions
|
@ -65,6 +65,11 @@ module.exports = {
|
|||
lotteryNumbers.push(randomInt(1, maxRoll));
|
||||
}
|
||||
|
||||
await interaction.reply({ content: `Your lucky numbers are...\n${lotteryNumbers.toString().split(',').join(', ')}.`, ephemeral: (isEphemeral === 'true') });
|
||||
if (rollCount === 1) {
|
||||
await interaction.reply({ content: `Your lucky number is...\n${lotteryNumbers.toString().split(',').join(', ')}.`, ephemeral: (isEphemeral === 'true') });
|
||||
}
|
||||
else {
|
||||
await interaction.reply({ content: `Your lucky numbers are...\n${lotteryNumbers.toString().split(',').join(', ')}.`, ephemeral: (isEphemeral === 'true') });
|
||||
}
|
||||
},
|
||||
};
|
Loading…
Reference in a new issue