Archived
0
0
Fork 0

fix: pino logger error

This commit is contained in:
Daryl Ronningen 2021-11-04 13:39:17 -07:00
parent 0f7c59a8c1
commit 3330f72ad8
Signed by: Daryl Ronningen
GPG key ID: FD23F0C934A5EC6B

View file

@ -16,10 +16,9 @@ let isBotReady = false;
export class NeonClient extends Client {
public commands: Collection<string, Command> = new Collection();
public logger = pino({ level: 'trace', prettifier: PinoPretty({ colorize: true, translateTime: true, levelFirst: true }) });
public ownerID: string;
public static logger = pino({ level: 'trace', prettifier: PinoPretty({ colorize: true, translateTime: true, levelFirst: true }) });
public constructor(ownerID: string, options: ClientOptions) {
super(options);