diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-12-21 14:55:23 +1100 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-12-21 14:55:23 +1100 |
commit | 2d67355a5210364cd45aac4a8fd4ce4cf5070cb1 (patch) | |
tree | 21adc10b1e640579ce65a309bb4b7ebf7d1dbdbc | |
parent | Set default threads to 1. Multiple threads is broken without Rabbitmq (diff) | |
download | server-2d67355a5210364cd45aac4a8fd4ce4cf5070cb1.tar.xz |
Fix guild features being undefined if not using defaultFeatures
-rw-r--r-- | src/util/entities/Guild.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/entities/Guild.ts b/src/util/entities/Guild.ts index b1471f16..676d851f 100644 --- a/src/util/entities/Guild.ts +++ b/src/util/entities/Guild.ts @@ -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, |