diff --git a/commands/random/bird.js b/commands/random/bird.js index dd95f67b..33e97759 100644 --- a/commands/random/bird.js +++ b/commands/random/bird.js @@ -16,7 +16,7 @@ module.exports = class BirdCommand extends Command { async run(msg) { try { const { body } = await request.get('http://random.birb.pw/tweet.json/'); - return msg.say({ files: [`http://random.birb.pw/img/${body.file}`] }); + return msg.say({ files: [{ attachment: `http://random.birb.pw/img/${body.file}`, name: body.file }] }); } catch (err) { return msg.reply(`Oh no, an error occurred: \`${err.message}\`. Try again later!`); }