aboutsummaryrefslogtreecommitdiff
path: root/commands/Fun
diff options
context:
space:
mode:
authorUnknown <jtsshieh@outlook.com>2018-03-09 21:53:41 -0500
committerUnknown <jtsshieh@outlook.com>2018-03-09 21:53:41 -0500
commit9a6661af9ca233dbf8de1b19c1d0289eda383d4c (patch)
treeb20676e8a8a68fa4fc723e03a8f0b179e307481f /commands/Fun
parentef137f3367d107db420acddf5842e67e4a0ba4da (diff)
downloadPokeBot-9a6661af9ca233dbf8de1b19c1d0289eda383d4c.tar.gz
PokeBot-9a6661af9ca233dbf8de1b19c1d0289eda383d4c.tar.bz2
PokeBot-9a6661af9ca233dbf8de1b19c1d0289eda383d4c.zip
its all the same slots system
Diffstat (limited to 'commands/Fun')
-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!',
+};