1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-22 18:32:29 +01:00

Fix guild features being undefined if not using defaultFeatures

This commit is contained in:
Madeline 2022-12-21 14:55:23 +11:00
parent 303b1255fa
commit 2d67355a52

View File

@ -306,7 +306,7 @@ export class Guild extends BaseClass {
afk_timeout: 300,
default_message_notifications: 1, // defaults effect: setting the push default at mentions-only will save a lot
explicit_content_filter: 0,
features: Config.get().guild.defaultFeatures,
features: Config.get().guild.defaultFeatures || [],
primary_category_id: undefined,
id: guild_id,
max_members: 250000,