mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-04 15:56:52 +02:00
19 lines
470 B
JavaScript
19 lines
470 B
JavaScript
const Command = require('../../structures/Command');
|
|
const path = require('path');
|
|
|
|
module.exports = class SourceCommand extends Command {
|
|
constructor(client) {
|
|
super(client, {
|
|
name: 'yoff',
|
|
group: 'single',
|
|
memberName: 'yoff',
|
|
description: 'Posts a picture that truly defines modern art.',
|
|
clientPermissions: ['ATTACH_FILES']
|
|
});
|
|
}
|
|
|
|
run(msg) {
|
|
return msg.say({ files: [path.join(__dirname, '..', '..', 'assets', 'images', 'yoff.png')] });
|
|
}
|
|
};
|