Fix them again

This commit is contained in:
Daniel Odendahl Jr
2017-08-06 15:02:24 +00:00
parent 7c77589c35
commit 9e2b3e65ea
8 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ module.exports = class AnimeCommand extends Command {
.get(`https://${animelistLogin}@myanimelist.net/api/anime/search.xml`)
.query({ q: query });
const { anime } = await xml.parseStringAsync(text);
const synopsis = cleanXML(anime.entry[0].synopsis[0].substr(0, 2048));
const synopsis = cleanXML(anime.entry[0].synopsis[0].substr(0, 2047));
const embed = new MessageEmbed()
.setColor(0x2D54A2)
.setAuthor('My Anime List', 'https://i.imgur.com/R4bmNFz.png')