summary refs log tree commit diff
path: root/src/Server.ts
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-01-04 16:29:49 +0100
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-01-04 16:29:49 +0100
commiteecbb9649f49abf09ded950911d6222d6c3d8519 (patch)
tree0e79599df47bd81623eb986dba7239a3e422c434 /src/Server.ts
parent:sparkles: update to use new lambert-server (diff)
downloadserver-eecbb9649f49abf09ded950911d6222d6c3d8519.tar.xz
:tada: init
Diffstat (limited to 'src/Server.ts')
-rw-r--r--src/Server.ts5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/Server.ts b/src/Server.ts

index 39b1fa56..631ddeee 100644 --- a/src/Server.ts +++ b/src/Server.ts
@@ -1,6 +1,3 @@ -import express, { Application, Router } from "express"; -import { traverseDirectory } from "./Utils"; -import { Server as HTTPServer } from "http"; import fs from "fs/promises"; import { Server, ServerOptions } from "lambert-server"; @@ -17,7 +14,7 @@ declare global { export class DiscordServer extends Server { public options: DiscordServerOptions; - constructor(opts?: DiscordServerOptions) { + constructor(opts?: Partial<DiscordServerOptions>) { super(opts); }