msg.say files, HTML

This commit is contained in:
Daniel Odendahl Jr
2017-05-16 03:27:31 +00:00
parent 9413bb3008
commit c08a69db7c
24 changed files with 54 additions and 93 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ module.exports = class MapCommand extends Command {
size: '500x500',
key: GOOGLE_KEY
});
return msg.channel.send({ files: [{ attachment: body, name: 'map.png' }] })
return msg.say({ files: [{ attachment: body, name: 'map.png' }] })
.catch(err => msg.say(err));
} catch (err) {
return msg.say(err);