This commit is contained in:
2022-11-24 16:25:20 +01:00
parent a26fb2df12
commit def44d2774
8 changed files with 113 additions and 13 deletions

View File

@@ -18,9 +18,6 @@ export async function getGuildSetting(guildID: string): Promise<GuildSetting> {
}
export function isPremiumActive(timestamp: Date | null): boolean {
console.log(timestamp);
if (timestamp === null) return false;
const now = Number(new Date());
const activeUntil = Number(timestamp);