🎨 gifs

This commit is contained in:
Flam3rboy
2021-10-11 16:34:18 +02:00
parent 833dcb7c3c
commit 7053d9a8b8
5 changed files with 66 additions and 83 deletions
+10 -11
View File
@@ -51,11 +51,6 @@ export interface ConfigValue {
general: {
instanceId: string;
};
permissions: {
user: {
createGuilds: boolean;
};
};
limits: {
user: {
maxGuilds: number;
@@ -154,6 +149,11 @@ export interface ConfigValue {
canLeave: boolean;
};
};
gif: {
enabled: boolean;
provider: "tenor"; // more coming soon
apiKey?: string;
};
rabbitmq: {
host: string | null;
};
@@ -176,11 +176,6 @@ export const DefaultConfigOptions: ConfigValue = {
general: {
instanceId: Snowflake.generate(),
},
permissions: {
user: {
createGuilds: true,
},
},
limits: {
user: {
maxGuilds: 100,
@@ -307,7 +302,6 @@ export const DefaultConfigOptions: ConfigValue = {
},
],
},
guild: {
showAllGuildsInDiscovery: false,
autoJoin: {
@@ -316,6 +310,11 @@ export const DefaultConfigOptions: ConfigValue = {
guilds: [],
},
},
gif: {
enabled: true,
provider: "tenor",
apiKey: "LIVDSRZULELA",
},
rabbitmq: {
host: null,
},