diff --git a/tools/toolshelper.ts b/tools/toolshelper.ts index 1bd3c49b317d94203cc5b45d677d9acb99bc40b8..954afaad4d07738c2df59c566df921d0c0994a4c 100644 --- a/tools/toolshelper.ts +++ b/tools/toolshelper.ts @@ -28,7 +28,7 @@ export class ToolsHelper { registration: registration as IAppserviceRegistration, }); - const store = needsStore ? new DiscordStore(config.database ? config.database.filename : "discord.db") : null; + const store = needsStore ? new DiscordStore(config.database) : null; return { appservice, config,