differentiated different responses in respond
This commit is contained in:
parent
84cfa7696c
commit
f9f43b233f
@ -555,7 +555,7 @@ class CommandHandler extends Observer {
|
|||||||
};
|
};
|
||||||
|
|
||||||
//return this.client.rateLimiter.limitSend(message.channel, await messages[error.type](error));
|
//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 });
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user