aboutsummaryrefslogtreecommitdiff
path: root/src/lib/models
diff options
context:
space:
mode:
authorTymanWasTaken <tyman@tyman.tech>2021-05-17 14:06:24 -0400
committerTymanWasTaken <tyman@tyman.tech>2021-05-17 14:06:24 -0400
commit9aee8c80067530b178612f1261c38b83683f266d (patch)
tree2ac52f719bdd77ef0265da2de02336f0759deaba /src/lib/models
parent4d63c4af57a7391dd61106b79874b8e83c14971a (diff)
downloadtanzanite-9aee8c80067530b178612f1261c38b83683f266d.tar.gz
tanzanite-9aee8c80067530b178612f1261c38b83683f266d.tar.bz2
tanzanite-9aee8c80067530b178612f1261c38b83683f266d.zip
probably works idk what all I did
Diffstat (limited to 'src/lib/models')
-rw-r--r--src/lib/models/Ban.ts3
-rw-r--r--src/lib/models/Guild.ts3
-rw-r--r--src/lib/models/Modlog.ts3
3 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/models/Ban.ts b/src/lib/models/Ban.ts
index c30c4c5..3ce9c06 100644
--- a/src/lib/models/Ban.ts
+++ b/src/lib/models/Ban.ts
@@ -22,7 +22,8 @@ export interface BanModelCreationAttributes {
export class Ban
extends BaseModel<BanModel, BanModelCreationAttributes>
- implements BanModel {
+ implements BanModel
+{
/**
* The ID of this ban (no real use just for a primary key)
*/
diff --git a/src/lib/models/Guild.ts b/src/lib/models/Guild.ts
index e4e317f..1cb3abb 100644
--- a/src/lib/models/Guild.ts
+++ b/src/lib/models/Guild.ts
@@ -10,7 +10,8 @@ export type GuildModelCreationAttributes = Optional<GuildModel, 'prefix'>;
export class Guild
extends BaseModel<GuildModel, GuildModelCreationAttributes>
- implements GuildModel {
+ implements GuildModel
+{
id: string;
prefix: string;
static initModel(seqeulize: Sequelize, client: BotClient): void {
diff --git a/src/lib/models/Modlog.ts b/src/lib/models/Modlog.ts
index 6dd5e26..7efeeed 100644
--- a/src/lib/models/Modlog.ts
+++ b/src/lib/models/Modlog.ts
@@ -34,7 +34,8 @@ export interface ModlogModelCreationAttributes {
export class Modlog
extends BaseModel<ModlogModel, ModlogModelCreationAttributes>
- implements ModlogModel {
+ implements ModlogModel
+{
id: string;
type: ModlogType;
user: string;