Files
xiao/commands/single/spam.js
T
Dragon Fire c61ae11679 Fix
2021-06-05 12:50:41 -04:00

26 lines
565 B
JavaScript

const Command = require('../../framework/Command');
const path = require('path');
module.exports = class SpamCommand extends Command {
constructor(client) {
super(client, {
name: 'spam',
group: 'single',
memberName: 'spam',
description: 'Responds with a picture of Spam.',
clientPermissions: ['ATTACH_FILES'],
credit: [
{
name: 'SPAM Brand',
url: 'https://www.spam.com/',
reason: 'Image'
}
]
});
}
run(msg) {
return msg.say({ files: [path.join(__dirname, '..', '..', 'assets', 'images', 'spam.png')] });
}
};