fuck 2: electric boogaloo

This commit is contained in:
janderedev 2022-01-13 22:59:16 +01:00
parent 72c9ef2173
commit 66babfc40e
No known key found for this signature in database
GPG key ID: 5D5E18ACB990F57A

View file

@ -13,7 +13,6 @@ import { adminBotLog } from "../logging";
const sudoOverrides: { [key: string]: number|null } = {}
const isSudo = (user: User): boolean => {
console.log(sudoOverrides[user._id])
return !!(sudoOverrides[user._id] && sudoOverrides[user._id]! > Date.now());
}