commit | d0a166dfaafd8f2a09a7dbe741a2f5b4ed07922c | [log] [tgz] |
---|---|---|
author | TheCodedProf <samuel.shuert@gmail.com> | Sun Feb 19 00:04:53 2023 -0500 |
committer | TheCodedProf <samuel.shuert@gmail.com> | Sun Feb 19 00:04:53 2023 -0500 |
tree | d7e2d2b53dcc42e3d8db785a7eb62bb31a8385e4 | |
parent | 4e0b325fe20d4f1eb86477fa86e0c80544570288 [diff] [blame] |
not at all
diff --git a/src/index.ts b/src/index.ts index a3a8d38..306ca50 100644 --- a/src/index.ts +++ b/src/index.ts
@@ -13,6 +13,9 @@ } else { client.fetchedCommands = await client.application?.commands.fetch()!; } + setInterval(async () => { + await client.database.premium.checkAllPremium(); + }, 1000 * 60 * 3); }); process.on("unhandledRejection", (err) => { console.error(err) }); process.on("uncaughtException", (err) => { console.error(err) });