aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--commands/Fun/slots.js69
1 files changed, 22 insertions, 47 deletions
diff --git a/commands/Fun/slots.js b/commands/Fun/slots.js
index ca5f585..4f30a10 100644
--- a/commands/Fun/slots.js
+++ b/commands/Fun/slots.js
@@ -19,52 +19,27 @@
* *************************************/
exports.run = (bot, msg) => {
- const slot1 = [
- ':one:',
- ':two:',
- ':three:',
- ':four:',
- ':five:',
- ':six:',
- ':seven:',
- ':eight:',
- ':nine:',
- ];
+ const slot1 = [
+ ':one:',
+ ':two:',
+ ':three:',
+ ':four:',
+ ':five:',
+ ':six:',
+ ':seven:',
+ ':eight:',
+ ':nine:',
+ ];
- const slot2 = [
- ':one:',
- ':two:',
- ':three:',
- ':four:',
- ':five:',
- ':six:',
- ':seven:',
- ':eight:',
- ':nine:',
- ];
+ msg.channel.send('If the numbers are sequenced forwards or backwards, you win!\n\n> ' + slot1[Math.floor(Math.random() * slot1.length)] + ' ' + slot1[Math.floor(Math.random() * slot1.length)] + ' ' + slot1[Math.floor(Math.random() * slot1.length)]);
+};
- const slot3 = [
- ':one:',
- ':two:',
- ':three:',
- ':four:',
- ':five:',
- ':six:',
- ':seven:',
- ':eight:',
- ':nine:',
- ];
-
- msg.channel.send('If the numbers are sequenced forwards or backwards, you win!\n\n> ' + slot1[Math.floor(Math.random() * slot1.length)] + ' ' + slot2[Math.floor(Math.random() * slot2.length)] + ' ' + slot3[Math.floor(Math.random() * slot3.length)]);
- };
-
- exports.conf = {
- aliases: [],
- guildOnly: true,
- };
-
- exports.help = {
- name: 'slots',
- description: 'Develop a gambling addiction by playing Slots!',
- };
- \ No newline at end of file
+exports.conf = {
+ aliases: [],
+ guildOnly: true,
+};
+
+exports.help = {
+ name: 'slots',
+ description: 'Develop a gambling addiction by playing Slots!',
+};