sharding changes #2

This commit is contained in:
Lio Young 2021-04-28 03:32:07 +02:00
parent 9afec41467
commit 8d135ce9a8
No known key found for this signature in database
GPG Key ID: 789795A11879E169
1 changed files with 3 additions and 3 deletions

View File

@ -9,11 +9,11 @@ export default class Thaldrin extends Client {
cooldowns: Collection<unknown, unknown>; cooldowns: Collection<unknown, unknown>;
config: any; config: any;
lastEval: any; lastEval: any;
constructor(config: { token: any; }, shards: number) { constructor(config: { token: any; }) {
super({ super({
// disableEveryone: true, // disableEveryone: true,
// disabledEvents: ['TYnpm i --save-dev @types/wsPING_START'], // disabledEvents: ['TYPING_START'],
shardCount: shards, // shardCount: shards,
// totalShardCount: shards // totalShardCount: shards
}); });