diff --git a/src/Config/Config.ts b/src/Config/Config.ts index 01731e93..ffaeb44a 100644 --- a/src/Config/Config.ts +++ b/src/Config/Config.ts @@ -197,6 +197,7 @@ export class BridgeConfig { this.webhook = configData.webhook; this.provisioning = configData.provisioning; this.passFile = configData.passFile; + this.bot = configData.bot; assert.ok(this.webhook); this.queue = configData.queue || { monolithic: true, @@ -222,4 +223,4 @@ export class BridgeConfig { export async function parseRegistrationFile(filename: string) { const file = await fs.readFile(filename, "utf-8"); return YAML.parse(file) as IAppserviceRegistration; -} \ No newline at end of file +}