DiscordTickets/src/events/rateLimit.js
2020-10-03 17:18:07 +01:00

18 lines
367 B
JavaScript

/**
*
* @name DiscordTickets
* @author eartharoid <contact@eartharoid.me>
* @license GNU-GPLv3
*
*/
const ChildLogger = require('leekslazylogger').ChildLogger;
const log = new ChildLogger();
module.exports = {
event: 'rateLimit',
execute(_client, [limit]) {
log.warn('Rate-limited! (Enable debug mode in config for details)');
log.debug(limit);
}
};