From ccfa61ca63636c5d5515455eb6e50864f80a101d Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Mon, 22 Mar 2021 21:52:13 +0100 Subject: :art: rename userid -> user_id --- src/Server.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/Server.ts') diff --git a/src/Server.ts b/src/Server.ts index 302aea81..df5ec905 100644 --- a/src/Server.ts +++ b/src/Server.ts @@ -1,3 +1,6 @@ +import "missing-native-js-functions"; +import dotenv from "dotenv"; +dotenv.config(); import { db } from "fosscord-server-util"; import { Server as WebSocketServer } from "ws"; import { Connection } from "./events/Connection"; @@ -19,7 +22,8 @@ export class Server { // @ts-ignore await (db as Promise); await this.setupSchema(); + console.log("[DB] connected"); await Config.init(); - console.log("listening"); + console.log("[Gateway] online"); } } -- cgit 1.5.1