From d17f999d693d034450f9ca60a543f1821edaa820 Mon Sep 17 00:00:00 2001 From: jacoobes Date: Mon, 21 Feb 2022 00:51:00 -0600 Subject: [PATCH] style(sern.ts): minimized code, refactor style --- src/handler/sern.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handler/sern.ts b/src/handler/sern.ts index 587443c..77ee6b8 100644 --- a/src/handler/sern.ts +++ b/src/handler/sern.ts @@ -45,7 +45,7 @@ export class Handler { .on('ready', async () => { Files.buildData(this) .then(data => this.registerModules(data)); - if (wrapper.init !== undefined) wrapper.init(this); + wrapper.init?.(this); new Logger().tableRam(); })