From be9751309f030b39922ac6b70efa5c8c94d1fd6f Mon Sep 17 00:00:00 2001 From: Cristiano Pires Date: Sat, 26 Aug 2023 17:49:49 +0100 Subject: [PATCH] Remove html tags from descritpion --- commands/search/searchAnime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/search/searchAnime.js b/commands/search/searchAnime.js index 90fb714..f650ce0 100644 --- a/commands/search/searchAnime.js +++ b/commands/search/searchAnime.js @@ -77,7 +77,7 @@ class anime extends Command{ .setTitle(`${data.title.romaji} (${data.title.native} / ${data.title.english})`) .setAuthor({name:"Rem-chan", iconURL:"https://i.imgur.com/g6FSNhL.png",url:'https://rem.wordfights.com/addtodiscord'}) .setColor(0x003284) - .setDescription(data.description.replaceAll('
',' ')) + .setDescription(data.description.replaceAll('
','').replaceAll('','').replaceAll('', '')) .setFooter({ text: 'Rem-Chan on', iconURL: 'https://i.imgur.com/g6FSNhL.png' }) .setImage(data.coverImage) .setThumbnail(data.coverImage)