Files
xiao/commands/text-edit/say.js
T
Daniel Odendahl Jr 023e8e9cac Superscript
2017-10-12 21:03:32 +00:00

25 lines
473 B
JavaScript

const { Command } = require('discord.js-commando');
module.exports = class SayCommand extends Command {
constructor(client) {
super(client, {
name: 'say',
aliases: ['copy', 'echo'],
group: 'text-edit',
memberName: 'say',
description: 'Make XiaoBot say what you wish.',
args: [
{
key: 'text',
prompt: 'What text would you like XiaoBot to say?',
type: 'string'
}
]
});
}
run(msg, { text }) {
return msg.say(text);
}
};