1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-23 02:42:28 +01:00

Merge branch 'feat/defaultFeatures' into slowcord

This commit is contained in:
Madeline 2022-07-18 19:49:03 +10:00
commit c1b096cfd1
2 changed files with 3 additions and 1 deletions

View File

@ -171,6 +171,7 @@ export interface ConfigValue {
guilds: string[];
canLeave: boolean;
};
defaultFeatures: string[];
};
gif: {
enabled: boolean;
@ -400,6 +401,7 @@ export const DefaultConfigOptions: ConfigValue = {
canLeave: true,
guilds: [],
},
defaultFeatures: [],
},
gif: {
enabled: true,

View File

@ -293,7 +293,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: [],
features: Config.get().guild.defaultFeatures,
primary_category_id: null,
id: guild_id,
max_members: 250000,