From a6f7baad5f2e272d14e62ca8201052dbb9660857 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Sun, 14 May 2017 17:27:32 +0000 Subject: [PATCH] Fix --- commands/search/anime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/search/anime.js b/commands/search/anime.js index 86bc20a2..9b1f7419 100644 --- a/commands/search/anime.js +++ b/commands/search/anime.js @@ -38,7 +38,7 @@ module.exports = class AnimeCommand extends Command { .setURL(`https://myanimelist.net/anime/${$('id').first().text()}`) .setThumbnail($('image').first().text()) .setTitle(`${$('title').first().text()} (${$('english').first().text()})`) - .setDescription($('synopsis').first().text().substr(0, 2000)) + .setDescription($('synopsis').first().text().replace(/(
)/g, '').substr(0, 2000)) .addField('Type', `${$('type').first().text()} - ${$('status').first().text()}`) .addField('Episodes',