commit | 96228bdb24b74f36d69a9ef079a1e2ce0f84bd64 | [log] [tgz] |
---|---|---|
author | pineafan <pineapplefanyt@gmail.com> | Tue Feb 21 14:22:55 2023 +0000 |
committer | pineafan <pineapplefanyt@gmail.com> | Tue Feb 21 14:22:55 2023 +0000 |
tree | 5836b6b2ce36a728c225d1097999d77c9a4d5e7c | |
parent | ff37b598d4e8826698ad38583810ee762913e4ef [diff] [blame] |
Fixed all typescript errors
diff --git a/src/events/guildMemberUpdate.ts b/src/events/guildMemberUpdate.ts index b674060..5788f61 100644 --- a/src/events/guildMemberUpdate.ts +++ b/src/events/guildMemberUpdate.ts
@@ -106,7 +106,7 @@ } if ( (before.communicationDisabledUntilTimestamp ?? 0) < Date.now() && - (after.communicationDisabledUntil ?? 0) > Date.now() + new Date(after.communicationDisabledUntil ?? 0).getTime() > Date.now() ) { await client.database.history.create( "mute",