Comment être excessive à l'examen
client.fetchMessageRateLimits()
.then(rateLimits => {
for (rateLimit of rateLimits) {
if (rateLimit.remaining === 0) {
const msUntilReset = rateLimit.reset - Date.now();
commandHandler.ignoreChannel(rateLimit.channelId, msUntilReset);
}
}
});
Bored Buzzard