Changed my epic jokes to an even more epic one xdddddddddddddddddddddddd

This commit is contained in:
loicbersier 2018-09-30 13:25:40 +02:00
parent 53b11bffd1
commit 581f832be8

View file

@ -19,7 +19,7 @@ module.exports = class redditCommand extends Command {
} }
async run(message, { sub }) { async run(message, { sub }) {
let /* the bodies hit the floor */ i = Math.floor((Math.random() * 10) + 1); let /* the bodies hit the */ i = Math.floor((Math.random() * 10) + 1);
let a = 0 let a = 0
fetch('https://www.reddit.com/r/' + sub + '.json?limit=100').then((response) => { fetch('https://www.reddit.com/r/' + sub + '.json?limit=100').then((response) => {
return response.json(); return response.json();