diff --git a/src/commands/dogfact.js b/src/commands/dogfact.js index cd89858..31d1639 100644 --- a/src/commands/dogfact.js +++ b/src/commands/dogfact.js @@ -4,8 +4,8 @@ exports.run = async (bot, message, args) => { message.channel.startTyping(); try{ request({ uri: "https://dog-api.kinduff.com/api/facts", json: true }, (error, response, body) => { - message.channel.stopTyping(); message.channel.send(`**Did you know?**\n ${body.facts[0]}`); + message.channel.stopTyping(); }); } catch(err) { message.channel.send(`<:error:466995152976871434> API error: ${err}`);