From 618877363dc31c8b5ae34aabe6a0d33a973a4b00 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Tue, 30 Jun 2020 16:06:31 -0400 Subject: [PATCH] Fix --- commands/search/poem.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/search/poem.js b/commands/search/poem.js index 05fddbae..3228234c 100644 --- a/commands/search/poem.js +++ b/commands/search/poem.js @@ -1,6 +1,6 @@ const Command = require('../../structures/Command'); const request = require('node-superfetch'); -const { stripIndent } = require('common-tags'); +const { html } = require('common-tags'); module.exports = class PoemCommand extends Command { constructor(client) { @@ -40,7 +40,7 @@ module.exports = class PoemCommand extends Command { const { body } = await request.get(`https://poetrydb.org/author,title/${author};${title}`); if (body.status === 404) return msg.say('Could not find any results.'); const data = body[0]; - return msg.say(stripIndent` + return msg.say(html` **${data.title}** by **${data.author}** ${data.lines.join('\n')} `);