aboutsummaryrefslogtreecommitdiff
path: root/src/lib/models/Ban.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/models/Ban.ts')
-rw-r--r--src/lib/models/Ban.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/models/Ban.ts b/src/lib/models/Ban.ts
index 54ca6ae..1bdda6f 100644
--- a/src/lib/models/Ban.ts
+++ b/src/lib/models/Ban.ts
@@ -5,15 +5,15 @@ import { BaseModel } from './BaseModel';
export interface BanModel {
id: string;
- user: string;
- guild: string;
+ user: Snowflake;
+ guild: Snowflake;
expires: Date;
modlog: string;
}
export interface BanModelCreationAttributes {
id?: string;
- user: string;
- guild: string;
+ user: Snowflake;
+ guild: Snowflake;
expires?: Date;
modlog: string;
}