igni-module/commands/hello.js
2021-04-27 15:28:34 +02:00

21 lines
No EOL
567 B
JavaScript

const commando = require("@iceprod/discord.js-commando");
module.exports = class hello extends commando.Command {
constructor(client) {
super(client, {
name: "hello",
memberName: "hello",
group: "commands",
description: "Say hello",
args: [{
key: "user",
type: "user",
prompt: "What's the user you want to say hello to?"
}]
});
}
run(msg, { user }) {
return msg.say("Hello " + user.username);
}
};