forked from Supositware/Haha-Yes
Fixed typo
This commit is contained in:
parent
c5b103596a
commit
f139270766
1 changed files with 2 additions and 2 deletions
|
@ -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!');
|
||||||
}
|
}
|
||||||
};
|
};
|
Loading…
Reference in a new issue