mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-17 08:17:35 +02:00
Cave Command
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
const Command = require('../../structures/Command');
|
||||
const path = require('path');
|
||||
|
||||
module.exports = class CaveCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'cave',
|
||||
aliases: ['cavern', 'mine'],
|
||||
group: 'single',
|
||||
memberName: 'cave',
|
||||
description: 'Sends a Minecraft cave that blends in with the chat.',
|
||||
clientPermissions: ['ATTACH_FILES']
|
||||
});
|
||||
}
|
||||
|
||||
run(msg) {
|
||||
return msg.say({ files: [path.join(__dirname, '..', '..', 'assets', 'images', 'cave.png')] });
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user