mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-25 14:21:41 +02:00
msg.say files, HTML
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user