mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-01 20:46:08 +00:00
fix(ws): logger bad config
This commit is contained in:
parent
620accd286
commit
f8ec4960b7
@ -1,11 +1,11 @@
|
||||
import { Options, Collection, Logger, delay } from '@biscuitland/common';
|
||||
import { Collection, Logger, Options, delay } from '@biscuitland/common';
|
||||
import {
|
||||
Shard,
|
||||
GatewayMemberRequest,
|
||||
BucketData,
|
||||
CreateGatewayManagerOptions,
|
||||
GatewayManagerDefaultOptions,
|
||||
GatewayMemberRequest,
|
||||
JoinVoiceOptions,
|
||||
GatewayManagerDefaultOptions
|
||||
Shard
|
||||
} from '../index';
|
||||
export class GatewayManager {
|
||||
buckets = new Map<number, BucketData>();
|
||||
@ -22,7 +22,7 @@ export class GatewayManager {
|
||||
if (this.options.cache) this.cache = new Collection();
|
||||
this.logger = new Logger({
|
||||
name: '[GatewayManager]',
|
||||
active: options.debug
|
||||
active: this.options.debug
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -3,5 +3,7 @@
|
||||
"compilerOptions": {
|
||||
"outDir": "./dist"
|
||||
},
|
||||
"include": ["src/**/*", "../common/src/Collection.ts"]
|
||||
}
|
||||
"include": [
|
||||
"src/**/*"
|
||||
]
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
{
|
||||
"extends": ["./tsconfig.json"],
|
||||
"compilerOptions": {
|
||||
"outDir": "./tests"
|
||||
},
|
||||
"include": ["./tests/connection.spec.ts"]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user