Default features config
This commit is contained in:
parent
6699afde77
commit
3cd5bc39e3
@ -169,6 +169,7 @@ export interface ConfigValue {
|
|||||||
guilds: string[];
|
guilds: string[];
|
||||||
canLeave: boolean;
|
canLeave: boolean;
|
||||||
};
|
};
|
||||||
|
defaultFeatures: string[];
|
||||||
};
|
};
|
||||||
gif: {
|
gif: {
|
||||||
enabled: boolean;
|
enabled: boolean;
|
||||||
@ -370,6 +371,7 @@ export const DefaultConfigOptions: ConfigValue = {
|
|||||||
canLeave: true,
|
canLeave: true,
|
||||||
guilds: [],
|
guilds: [],
|
||||||
},
|
},
|
||||||
|
defaultFeatures: [],
|
||||||
},
|
},
|
||||||
gif: {
|
gif: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
|
@ -293,7 +293,7 @@ export class Guild extends BaseClass {
|
|||||||
afk_timeout: 300,
|
afk_timeout: 300,
|
||||||
default_message_notifications: 1, // defaults effect: setting the push default at mentions-only will save a lot
|
default_message_notifications: 1, // defaults effect: setting the push default at mentions-only will save a lot
|
||||||
explicit_content_filter: 0,
|
explicit_content_filter: 0,
|
||||||
features: [],
|
features: Config.get().guild.defaultFeatures,
|
||||||
primary_category_id: null,
|
primary_category_id: null,
|
||||||
id: guild_id,
|
id: guild_id,
|
||||||
max_members: 250000,
|
max_members: 250000,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user