diff options
Diffstat (limited to 'commands/fart.js')
| -rw-r--r-- | commands/fart.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/commands/fart.js b/commands/fart.js index 3da3f3b..de62889 100644 --- a/commands/fart.js +++ b/commands/fart.js @@ -13,7 +13,7 @@ module.exports = { }); dispatcher.on('end', () => { msg.member.voiceChannel.leave(); - }) + }); } else if (fartNum == 2) { msg.reply('you got fart 2, courtesy of Sin'); const dispatcher = connection.playFile('./assets/audio/farts/2.mp3', { @@ -21,7 +21,7 @@ module.exports = { }); dispatcher.on('end', () => { msg.member.voiceChannel.leave(); - }) + }); } else if (fartNum == 3) { msg.reply('you got fart 3, courtesy of Sin'); const dispatcher = connection.playFile('./assets/audio/farts/3.mp3', { @@ -29,7 +29,7 @@ module.exports = { }); dispatcher.on('end', () => { msg.member.voiceChannel.leave(); - }) + }); } else if (fartNum == 4) { msg.reply('you got fart 4, courtesy of Sin'); const dispatcher = connection.playFile('./assets/audio/farts/4.mp3', { @@ -37,7 +37,7 @@ module.exports = { }); dispatcher.on('end', () => { msg.member.voiceChannel.leave(); - }) + }); } else if (fartNum == 5) { msg.reply('you got fart 5, courtesy of Sin'); const dispatcher = connection.playFile('./assets/audio/farts/5.mp3', { @@ -45,7 +45,7 @@ module.exports = { }); dispatcher.on('end', () => { msg.member.voiceChannel.leave(); - }) + }); } else if (fartNum == 6) { msg.reply('you got fart 6, courtesy of nick'); const dispatcher = connection.playFile('./assets/audio/farts/6.mp3', { @@ -53,7 +53,7 @@ module.exports = { }); dispatcher.on('end', () => { msg.member.voiceChannel.leave(); - }) + }); } else if (fartNum == 7) { msg.reply('you got fart 7, courtesy of nick'); const dispatcher = connection.playFile('./assets/audio/farts/7.mp3', { @@ -61,7 +61,7 @@ module.exports = { }); dispatcher.on('end', () => { msg.member.voiceChannel.leave(); - }) + }); } else if (fartNum == 8) { msg.reply('you got fart 8, courtesy of nick'); const dispatcher = connection.playFile('./assets/audio/farts/8.mp3', { @@ -69,7 +69,7 @@ module.exports = { }); dispatcher.on('end', () => { msg.member.voiceChannel.leave(); - }) + }); } } else if (msg.guild.voiceConnection) { msg.reply('i\'m already playing that lol'); @@ -77,4 +77,4 @@ module.exports = { msg.reply('you need to join a voice channel first silly'); } } -}
\ No newline at end of file +};
\ No newline at end of file |