aboutsummaryrefslogtreecommitdiff
path: root/src/lib/models/StickyRole.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/models/StickyRole.ts')
-rw-r--r--src/lib/models/StickyRole.ts18
1 files changed, 12 insertions, 6 deletions
diff --git a/src/lib/models/StickyRole.ts b/src/lib/models/StickyRole.ts
index c71ecb7..46650a4 100644
--- a/src/lib/models/StickyRole.ts
+++ b/src/lib/models/StickyRole.ts
@@ -19,25 +19,31 @@ export class StickyRole extends BaseModel<StickyRoleModel, StickyRoleModelCreati
*/
public get user(): Snowflake {
- return null;
+ throw new Error('This should never be executed');
+ }
+ public set user(_: Snowflake) {
+ throw new Error('This should never be executed');
}
- public set user(value: Snowflake) {}
/**
* The guild where this should happen
*/
public get guild(): Snowflake {
- return null;
+ throw new Error('This should never be executed');
+ }
+ public set guild(_: Snowflake) {
+ throw new Error('This should never be executed');
}
- public set guild(value: Snowflake) {}
/**
* The roles that the user should have returned
*/
public get roles(): Snowflake[] {
- return null;
+ throw new Error('This should never be executed');
+ }
+ public set roles(_: Snowflake[]) {
+ throw new Error('This should never be executed');
}
- public set roles(value: Snowflake[]) {}
static initModel(sequelize: Sequelize): void {
StickyRole.init(