3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-16 22:21:51 +00:00
This commit is contained in:
Dragory 2021-08-19 01:44:06 +03:00
parent 8f790109df
commit 3ff5590744
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

View file

@ -152,7 +152,7 @@ connect().then(async () => {
const client = new Client({ const client = new Client({
partials: ["USER", "CHANNEL", "GUILD_MEMBER", "MESSAGE", "REACTION"], partials: ["USER", "CHANNEL", "GUILD_MEMBER", "MESSAGE", "REACTION"],
restGlobalRateLimit: 5, restGlobalRateLimit: 10,
restTimeOffset: 1000, restTimeOffset: 1000,
// Disable mentions by default // Disable mentions by default
@ -183,7 +183,7 @@ connect().then(async () => {
client.on(Constants.Events.RATE_LIMIT, data => { client.on(Constants.Events.RATE_LIMIT, data => {
// tslint:disable-next-line:no-console // tslint:disable-next-line:no-console
console.log(`[DEBUG] [RATE_LIMIT] ${JSON.stringify(data)}`); // console.log(`[DEBUG] [RATE_LIMIT] ${JSON.stringify(data)}`);
}); });
const safe429DecayInterval = 5 * SECONDS; const safe429DecayInterval = 5 * SECONDS;