mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 08:12:04 +02:00
Hello World Command
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
const { Command } = require('discord.js-commando');
|
||||
|
||||
module.exports = class HelloWorldCommand extends Command {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'hello-word',
|
||||
aliases: ['hola-mundo'],
|
||||
group: 'single',
|
||||
memberName: 'hello-world',
|
||||
description: 'Hello world.'
|
||||
});
|
||||
}
|
||||
|
||||
run(msg) {
|
||||
return msg.say('Hello World!');
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user