aboutsummaryrefslogtreecommitdiff
path: root/src/lib/utils/Config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/utils/Config.ts')
-rw-r--r--src/lib/utils/Config.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/utils/Config.ts b/src/lib/utils/Config.ts
index d6b5802..65f43cb 100644
--- a/src/lib/utils/Config.ts
+++ b/src/lib/utils/Config.ts
@@ -8,6 +8,7 @@ export interface ConfigOptions {
channels: { log: Snowflake; error: Snowflake; dm: Snowflake };
db: { host: string; port: number; username: string; password: string };
logging: { db: boolean; verbose: boolean; info: boolean };
+ supportGuild: {id: Snowflake, invite: string}
}
export class Config {
@@ -18,6 +19,7 @@ export class Config {
public channels: { log: Snowflake; error: Snowflake; dm: Snowflake };
public db: { host: string; port: number; username: string; password: string };
public logging: { db: boolean; verbose: boolean; info: boolean };
+ public supportGuild: {id: Snowflake, invite: string}
public constructor(options: ConfigOptions) {
this.credentials = options.credentials;
@@ -27,6 +29,7 @@ export class Config {
this.channels = options.channels;
this.db = options.db;
this.logging = options.logging;
+ this.supportGuild = options.supportGuild
}
public get token(): string {