diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-08-17 12:31:09 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-08-17 12:31:09 -0400 |
commit | d40527d0a2d9f209905750258f71bedff1cdf089 (patch) | |
tree | e017fd844c2135bfc85228d00ef2617d24ce0a3f /src/lib/models | |
parent | d431ad00754f3f250103deedea495b9bcee73fc0 (diff) | |
download | tanzanite-d40527d0a2d9f209905750258f71bedff1cdf089.tar.gz tanzanite-d40527d0a2d9f209905750258f71bedff1cdf089.tar.bz2 tanzanite-d40527d0a2d9f209905750258f71bedff1cdf089.zip |
turned on ts strict option
Diffstat (limited to 'src/lib/models')
-rw-r--r-- | src/lib/models/ActivePunishment.ts | 2 | ||||
-rw-r--r-- | src/lib/models/ModLog.ts | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/models/ActivePunishment.ts b/src/lib/models/ActivePunishment.ts index fb2e79f..62bb73e 100644 --- a/src/lib/models/ActivePunishment.ts +++ b/src/lib/models/ActivePunishment.ts @@ -16,7 +16,7 @@ export interface ActivePunishmentModel { user: Snowflake; guild: Snowflake; extraInfo: Snowflake; - expires: Date; + expires: Date | null; modlog: string; } export interface ActivePunishmentModelCreationAttributes { diff --git a/src/lib/models/ModLog.ts b/src/lib/models/ModLog.ts index 5da6027..50d142a 100644 --- a/src/lib/models/ModLog.ts +++ b/src/lib/models/ModLog.ts @@ -25,8 +25,8 @@ export interface ModLogModel { type: ModLogType; user: Snowflake; moderator: Snowflake; - reason: string; - duration: number; + reason: string | null; + duration: number | null; guild: Snowflake; evidence: string; } |