mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
16 lines
291 B
JavaScript
16 lines
291 B
JavaScript
const Command = require('../../framework/Command');
|
|
|
|
module.exports = class HelloWorldCommand extends Command {
|
|
constructor(client) {
|
|
super(client, {
|
|
name: 'hello-world',
|
|
group: 'single',
|
|
description: 'Hello world!'
|
|
});
|
|
}
|
|
|
|
run(msg) {
|
|
return msg.say('Hello, world!');
|
|
}
|
|
};
|