aboutsummaryrefslogtreecommitdiff
path: root/src/lib/models/Global.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/models/Global.ts')
-rw-r--r--src/lib/models/Global.ts36
1 files changed, 30 insertions, 6 deletions
diff --git a/src/lib/models/Global.ts b/src/lib/models/Global.ts
index e37ef2b..80f11ca 100644
--- a/src/lib/models/Global.ts
+++ b/src/lib/models/Global.ts
@@ -24,27 +24,51 @@ export class Global extends BaseModel<GlobalModel, GlobalModelCreationAttributes
/**
* The bot's environment.
*/
- environment: 'production' | 'development' | 'beta';
+ public get environment(): 'production' | 'development' | 'beta' {
+ return null;
+ }
+ public set environment(value: 'production' | 'development' | 'beta') {}
+
/**
* Trusted users.
*/
- superUsers: Snowflake[];
+ public get superUsers(): Snowflake[] {
+ return null;
+ }
+ public set superUsers(value: Snowflake[]) {}
+
/**
* Globally disabled commands.
*/
- disabledCommands: string[];
+ public get disabledCommands(): string[] {
+ return null;
+ }
+ public set disabledCommands(value: string[]) {}
+
/**
* Globally blacklisted users.
*/
- blacklistedUsers: Snowflake[];
+ public get blacklistedUsers(): Snowflake[] {
+ return null;
+ }
+ public set blacklistedUsers(value: Snowflake[]) {}
+
/**
* Guilds blacklisted from using the bot.
*/
- blacklistedGuilds: Snowflake[];
+ public get blacklistedGuilds(): Snowflake[] {
+ return null;
+ }
+ public set blacklistedGuilds(value: Snowflake[]) {}
+
/**
* Channels where the bot is prevented from running.
*/
- blacklistedChannels: Snowflake[];
+ public get blacklistedChannels(): Snowflake[] {
+ return null;
+ }
+ public set blacklistedChannels(value: Snowflake[]) {}
+
static initModel(sequelize: Sequelize): void {
Global.init(
{