big work today!
diff --git a/src/index.ts b/src/index.ts
index 3c132bc..12f6659 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -13,10 +13,9 @@
} else {
client.fetchedCommands = await client.application?.commands.fetch()!;
}
- setInterval(async () => {
- await client.database.premium.checkAllPremium();
- }, 1000 * 60 * 3);
+ await client.database.premium.checkAllPremium();
});
+
process.on("unhandledRejection", (err) => { console.error(err) });
process.on("uncaughtException", (err) => { console.error(err) });