Send emoji image as a file

This commit is contained in:
Daniel Odendahl Jr
2018-09-07 11:03:38 +00:00
parent d70e66d18e
commit 725c73d827
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -21,6 +21,6 @@ module.exports = class EmojiImageCommand extends Command {
}
run(msg, { emoji }) {
return msg.say(emoji.url);
return msg.say({ files: [emoji.url] });
}
};