From f1cdbd260c6c2249fc0d765949d44d889bcaedc8 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Fri, 28 May 2021 17:37:04 -0400 Subject: I can't read anything --- src/lib/utils/Logger.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/lib/utils') diff --git a/src/lib/utils/Logger.ts b/src/lib/utils/Logger.ts index 604b45e..b0f7da5 100644 --- a/src/lib/utils/Logger.ts +++ b/src/lib/utils/Logger.ts @@ -15,9 +15,7 @@ export class Logger { ); } public getChannel(channel: 'log' | 'error' | 'dm'): Promise { - return this.client.channels.fetch( - this.client.config.channels[channel] - ) as Promise; + return this.client.channels.fetch(this.client.config.channels[channel]) as Promise; } public async log(message: string, sendChannel = false): Promise { console.log(chalk`{bgCyan LOG} ` + message); -- cgit