summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-12-17 07:45:49 +0100
committerRory& <root@rory.gay>2025-12-17 07:45:49 +0100
commite8cced95ef97db0e00e8a034c22d6f1bfe312659 (patch)
treef1074943c380994681d98b6918e89062ee6f35a4 /src/util
parentPrettier 3 (diff)
downloadserver-ts-e8cced95ef97db0e00e8a034c22d6f1bfe312659.tar.xz
Prettier 4
Diffstat (limited to 'src/util')
-rw-r--r--src/util/interfaces/Event.ts4
-rw-r--r--src/util/util/Timespan.ts4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/util/interfaces/Event.ts b/src/util/interfaces/Event.ts

index 8fb9b904..1f8df68d 100644 --- a/src/util/interfaces/Event.ts +++ b/src/util/interfaces/Event.ts
@@ -220,7 +220,7 @@ export interface GuildBanAddEvent extends Event { data: { guild_id: string; user: User; - delete_message_secs?: number + delete_message_secs?: number; }; } @@ -566,7 +566,7 @@ export interface GatewaySessionClientInfo { version: number; os: string; client: string; -}; +} export interface GatewaySession { session_id: string; diff --git a/src/util/util/Timespan.ts b/src/util/util/Timespan.ts
index c07bf52e..323056c4 100644 --- a/src/util/util/Timespan.ts +++ b/src/util/util/Timespan.ts
@@ -91,7 +91,7 @@ export class TimeSpan { } get years() { - return Math.floor((this.totalMillis / 1000 / 60 / 60 / 24 / 365.25)); // Average days in a year + return Math.floor(this.totalMillis / 1000 / 60 / 60 / 24 / 365.25); // Average days in a year } toString(includeWeeks = true, includeMillis = true) { @@ -127,4 +127,4 @@ export class TimeSpan { get endDate() { return new Date(this.end); } -} \ No newline at end of file +}