forked from Supositware/Haha-Yes
added say command
This commit is contained in:
parent
a551d6b4ae
commit
a50e02b525
1 changed files with 24 additions and 0 deletions
24
commands/fun/say.js
Normal file
24
commands/fun/say.js
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
const { Command } = require('discord.js-commando');
|
||||||
|
const responseObject = require("../../randVid.json");
|
||||||
|
module.exports = class sayCommand extends Command {
|
||||||
|
constructor(client) {
|
||||||
|
super(client, {
|
||||||
|
name: 'say',
|
||||||
|
group: 'fun',
|
||||||
|
memberName: 'say',
|
||||||
|
description: `repeat the text`,
|
||||||
|
args: [
|
||||||
|
{
|
||||||
|
key: 'text',
|
||||||
|
prompt: 'What do you want me to say',
|
||||||
|
type: 'string',
|
||||||
|
}
|
||||||
|
]
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
async run(message, { text }) {
|
||||||
|
message.delete();
|
||||||
|
message.say(text);
|
||||||
|
}
|
||||||
|
};
|
Loading…
Reference in a new issue