diff --git a/config/config.sample.yaml b/config/config.sample.yaml index 7640f796bb6feba037b70ad5ffc1e49ef9a4e6a2..2b8350597ca9ef0ddf984570efa16e2d3eda00cd 100644 --- a/config/config.sample.yaml +++ b/config/config.sample.yaml @@ -36,7 +36,6 @@ bridge: # Authentication configuration for the discord bot. auth: clientID: "12345" - secret: "blah" botToken: "foobar" logging: # What level should the logger output to the console at. diff --git a/config/config.schema.yaml b/config/config.schema.yaml index 24c409efa4c79e95b0b3d4ebcedc1ab807722130..56de3a8585438f47d06b7636f0849b9163a72c6a 100644 --- a/config/config.schema.yaml +++ b/config/config.schema.yaml @@ -28,12 +28,10 @@ properties: type: "boolean" auth: type: "object" - required: ["botToken"] + required: ["botToken", "clientID"] properties: clientID: type: "string" - secret: - type: "string" botToken: type: "string" logging: diff --git a/src/config.ts b/src/config.ts index bb35047882be464802f00288eeeb7d8d87ee0b5b..c231adc639e3d24b11f221b49d7ce96886da6f4c 100644 --- a/src/config.ts +++ b/src/config.ts @@ -47,7 +47,6 @@ export class DiscordBridgeConfigDatabase { export class DiscordBridgeConfigAuth { public clientID: string; - public secret: string; public botToken: string; }