im retarded ( dosent put description twice anymore )

This commit is contained in:
loicbersier 2019-06-26 03:00:22 +02:00
parent 2ae3b34476
commit 6c625bb5a3

View file

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