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 }) { run(msg, { emoji }) {
return msg.say(emoji.url); return msg.say({ files: [emoji.url] });
} }
}; };
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "xiao", "name": "xiao",
"version": "90.3.3", "version": "90.3.4",
"description": "Your personal server companion.", "description": "Your personal server companion.",
"main": "Xiao.js", "main": "Xiao.js",
"scripts": { "scripts": {