Files
xiao/commands/single/fly.js
T
Daniel Odendahl Jr 5f643ba92a Fly Prank Command
2018-10-03 23:19:34 +00:00

20 lines
490 B
JavaScript

const Command = require('../../structures/Command');
const path = require('path');
module.exports = class FlyCommand extends Command {
constructor(client) {
super(client, {
name: 'fly',
aliases: ['fly-prank'],
group: 'single',
memberName: 'fly',
description: 'Sends a fake fly that looks surprisngly real.',
clientPermissions: ['ATTACH_FILES']
});
}
run(msg) {
return msg.say({ files: [path.join(__dirname, '..', '..', 'assets', 'images', 'fly.png')] });
}
};