Files
xiao/commands/single/nitro.js
T
Dragon Fire 6fc52bd8a9 Fix
2020-06-15 21:02:57 -04:00

28 lines
739 B
JavaScript

const Command = require('../../structures/Command');
const path = require('path');
module.exports = class NitroCommand extends Command {
constructor(client) {
super(client, {
name: 'nitro',
aliases: ['fake-nitro'],
group: 'single',
memberName: 'nitro',
description: 'Sends an image of a fake nitro giveaway.',
clientPermissions: ['ATTACH_FILES'],
credit: [
{
name: 'u/MoonlightCapital',
url: 'https://www.reddit.com/user/MoonlightCapital/',
reason: 'Image',
reasonURL: 'https://www.reddit.com/r/discordapp/comments/a9fr7x/troll_your_friends_with_this/'
}
]
});
}
run(msg) {
return msg.say({ files: [path.join(__dirname, '..', '..', 'assets', 'images', 'nitro.png')] });
}
};