copy eslint + tslint from Discord.js (v13)

This commit is contained in:
March 7th
2022-04-16 17:44:43 +07:00
parent 7fc069f4b9
commit 522f7f756a
64 changed files with 9164 additions and 9003 deletions

View File

@@ -13,7 +13,7 @@ let zlib;
try {
zlib = require('zlib-sync');
} catch { } // eslint-disable-line no-empty
} catch {} // eslint-disable-line no-empty
/**
* Represents a Shard's WebSocket connection
@@ -487,8 +487,9 @@ class WebSocketShard extends EventEmitter {
() => {
this.debug(
`Shard ${hasGuildsIntent ? 'did' : 'will'} not receive any more guild packets` +
`${hasGuildsIntent ? ` in ${waitGuildTimeout} ms` : ''}.\nUnavailable guild count: ${this.expectedGuilds.size
}`,
`${hasGuildsIntent ? ` in ${waitGuildTimeout} ms` : ''}.\nUnavailable guild count: ${
this.expectedGuilds.size
}`,
);
this.readyTimeout = null;