mirror of
https://github.com/janderedev/automod.git
synced 2024-12-22 18:55:28 +00:00
fuck 2: electric boogaloo
This commit is contained in:
parent
72c9ef2173
commit
66babfc40e
|
@ -13,7 +13,6 @@ import { adminBotLog } from "../logging";
|
||||||
const sudoOverrides: { [key: string]: number|null } = {}
|
const sudoOverrides: { [key: string]: number|null } = {}
|
||||||
|
|
||||||
const isSudo = (user: User): boolean => {
|
const isSudo = (user: User): boolean => {
|
||||||
console.log(sudoOverrides[user._id])
|
|
||||||
return !!(sudoOverrides[user._id] && sudoOverrides[user._id]! > Date.now());
|
return !!(sudoOverrides[user._id] && sudoOverrides[user._id]! > Date.now());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue