1
0
Fork 0

im retarded ( dosent put description twice anymore )

akairo
loicbersier 5 years ago
parent 2ae3b34476
commit 6c625bb5a3

@ -40,7 +40,7 @@ class FourchanCommand extends Command {
let i = Math.floor((Math.random() * response.threads.length)); let i = Math.floor((Math.random() * response.threads.length));
let description = response.threads[i].posts[0].com.replace(/(<([^>]+)>)/ig,''); let description = response.threads[i].posts[0].com.replace(/(<([^>]+)>)/ig,'');
description += decodeURI(description); description = decodeURI(description);
const FourchanEmbed = new MessageEmbed() const FourchanEmbed = new MessageEmbed()
.setColor('#ff9900') .setColor('#ff9900')

Loading…
Cancel
Save