From 43038d39838360b41fac8010490d73b84f94545d Mon Sep 17 00:00:00 2001 From: peterino2 Date: Tue, 3 Feb 2026 08:36:00 -0800 Subject: [PATCH] updated defaults --- server.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/server.ts b/server.ts index 9d72866..1770f58 100644 --- a/server.ts +++ b/server.ts @@ -40,7 +40,7 @@ interface Config { musicDir: string; allowGuests: boolean; defaultPermissions: { - channel?: string[]; + channel?: string["listen", "control"]; }; } @@ -49,7 +49,8 @@ const CONFIG_PATH = join(import.meta.dir, "config.json"); const DEFAULT_CONFIG: Config = { port: 3001, musicDir: "./music", - allowGuests: true + allowGuests: true, + defaultPermissions: [''] }; // Create default config if missing