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.ts28
1 files changed, 25 insertions, 3 deletions
diff --git a/src/lib/models/StickyRole.ts b/src/lib/models/StickyRole.ts
index a3928e7..c71ecb7 100644
--- a/src/lib/models/StickyRole.ts
+++ b/src/lib/models/StickyRole.ts
@@ -14,9 +14,31 @@ export interface StickyRoleModelCreationAttributes {
}
export class StickyRole extends BaseModel<StickyRoleModel, StickyRoleModelCreationAttributes> implements StickyRoleModel {
- user: Snowflake;
- guild: Snowflake;
- roles: Snowflake[];
+ /**
+ * The id of the user the roles belongs to
+ */
+
+ public get user(): Snowflake {
+ return null;
+ }
+ public set user(value: Snowflake) {}
+
+ /**
+ * The guild where this should happen
+ */
+ public get guild(): Snowflake {
+ return null;
+ }
+ public set guild(value: Snowflake) {}
+
+ /**
+ * The roles that the user should have returned
+ */
+ public get roles(): Snowflake[] {
+ return null;
+ }
+ public set roles(value: Snowflake[]) {}
+
static initModel(sequelize: Sequelize): void {
StickyRole.init(
{