diff options
| author | Trey <trey6979@gmail.com> | 2018-04-16 19:43:51 -0400 |
|---|---|---|
| committer | Trey <trey6979@gmail.com> | 2018-04-16 19:43:51 -0400 |
| commit | a8c60412622ca63a93f287eb05577d3a04f257ad (patch) | |
| tree | ac9b1e77392d1662c4cb7afcb91362dcdba50cd9 /commands | |
| parent | 0849e799879fd39285d1f8899d38434d20e3d396 (diff) | |
| download | PokeBot-a8c60412622ca63a93f287eb05577d3a04f257ad.tar.gz PokeBot-a8c60412622ca63a93f287eb05577d3a04f257ad.tar.bz2 PokeBot-a8c60412622ca63a93f287eb05577d3a04f257ad.zip | |
oh well im fucking dumb arent i
Diffstat (limited to 'commands')
| -rw-r--r-- | commands/Fun/jobs.js | 4 |
1 files changed, 2 insertions, 2 deletions
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(() => { |
