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 | 77bc92f6f27ae1439f7dbeb804b4266905e50ebe (patch) | |
tree | 862df81ca980df2cbabc6ff67095fe94db2dfbdd | |
parent | Set default threads to 1. Multiple threads is broken without Rabbitmq (diff) | |
download | server-77bc92f6f27ae1439f7dbeb804b4266905e50ebe.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, |