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:
commit
c1b096cfd1
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user