differentiated different responses in respond

This commit is contained in:
Erik 2020-06-20 23:26:59 +03:00
parent 84cfa7696c
commit f9f43b233f

View File

@ -555,7 +555,7 @@ class CommandHandler extends Observer {
};
//return this.client.rateLimiter.limitSend(message.channel, await messages[error.type](error));
return message.limitedRespond(await messages[error.type](error), { emoji: 'failure' });
return message.limitedRespond(await messages[error.type](error), { emoji: 'failure', limit: 10, utility: error.type });
}