diff --git a/src/structure/DiscordClient.js b/src/structure/DiscordClient.js index 1a038bf..fb8db40 100644 --- a/src/structure/DiscordClient.js +++ b/src/structure/DiscordClient.js @@ -226,6 +226,14 @@ class DiscordClient extends Client { this.logger.status('Shard resumed.'); }); + this.eventHooker.hook('invalidRequestWarning', (warning) => { + this.logger.warn(`Invalid requests warning:\n${inspect(warning)}`); + }); + + this.eventHooker.hook('rateLimit', (limit) => { + this.logger.debug(`Client hit a rate limit:\n${inspect(limit)}`); + }); + } /**