Fixed typo

This commit is contained in:
Loic Bersier 2018-09-27 15:33:22 +02:00
parent c5b103596a
commit f139270766

View file

@ -10,7 +10,7 @@ module.exports = class sayCommand extends Command {
args: [ args: [
{ {
key: 'text', key: 'text',
prompt: 'What do you want to send as a feedback?', prompt: 'What would you want to send as feedback?',
type: 'string', type: 'string',
} }
] ]
@ -20,6 +20,6 @@ module.exports = class sayCommand extends Command {
async run(message, { text }) { async run(message, { text }) {
const channel = this.client.channels.get(feedbackChannel); const channel = this.client.channels.get(feedbackChannel);
channel.send(`from ${message.author}: ${text}`); channel.send(`from ${message.author}: ${text}`);
message.say('Your feedback have been sent!'); message.say('Your feedback has been sent!');
} }
}; };