From 1bc56e5131489c5150ca596f63e6e627ddb74e15 Mon Sep 17 00:00:00 2001 From: Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> Date: Tue, 5 Oct 2021 19:37:20 +0200 Subject: :sparkles: added autoJoin guild to config --- util/src/entities/Config.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'util/src/entities/Config.ts') diff --git a/util/src/entities/Config.ts b/util/src/entities/Config.ts index 28926233..921a12c2 100644 --- a/util/src/entities/Config.ts +++ b/util/src/entities/Config.ts @@ -144,9 +144,13 @@ export interface ConfigValue { useDefaultAsOptimal: boolean; available: Region[]; }; - guild: { showAllGuildsInDiscovery: boolean; + autoJoin: { + enabled: boolean; + guilds: string[]; + canLeave: boolean; + }; }; rabbitmq: { host: string | null; @@ -302,6 +306,11 @@ export const DefaultConfigOptions: ConfigValue = { guild: { showAllGuildsInDiscovery: false, + autoJoin: { + enabled: true, + canLeave: true, + guilds: [], + }, }, rabbitmq: { host: null, -- cgit 1.5.1