From a8c60412622ca63a93f287eb05577d3a04f257ad Mon Sep 17 00:00:00 2001 From: Trey Date: Mon, 16 Apr 2018 19:43:51 -0400 Subject: oh well im fucking dumb arent i --- commands/Fun/jobs.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'commands/Fun') diff --git a/commands/Fun/jobs.js b/commands/Fun/jobs.js index ce57cce..2305690 100644 --- a/commands/Fun/jobs.js +++ b/commands/Fun/jobs.js @@ -28,12 +28,12 @@ exports.run = (bot, msg) => { if (bot.dbl.hasVoted(msg.author.id)) { var creditsEarned = (Math.random() * Math.floor(650)); bot.plugins.economy.add(msg.author.id, creditsEarned); - msg.channel.send('You worked and ' + jobs[Math.floor(Math.random() * jobs.length())] + '\n\nYou earned ' + creditsEarned.toString() + 'credits.'); + msg.channel.send('You worked and ' + jobs[Math.floor(Math.random() * jobs.length)] + '\n\nYou earned ' + creditsEarned.toString() + 'credits.'); } else { var creditsEarned = (Math.random() * Math.floor(250)); bot.plugins.economy.add(msg.author.id, creditsEarned); - msg.channel.send('You worked and ' + jobs[Math.floor(Math.random() * jobs.length())] + '\n\nYou earned ' + creditsEarned.toString() + 'credits.'); + msg.channel.send('You worked and ' + jobs[Math.floor(Math.random() * jobs.length)] + '\n\nYou earned ' + creditsEarned.toString() + 'credits.'); } cooldown.add(msg.author.id); setTimeout(() => { -- cgit v1.2.3