mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-23 02:42:28 +01:00
Fix guild features being undefined if not using defaultFeatures
This commit is contained in:
parent
303b1255fa
commit
2d67355a52
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user