generated from nhcarrigan/template
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 276cbb845a | |||
| 9afe0d55c2 |
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@nhcarrigan/discord-analytics",
|
"name": "@nhcarrigan/discord-analytics",
|
||||||
"version": "0.0.5",
|
"version": "0.0.6",
|
||||||
"description": "Package that pairs with our logging tool to provide analytics for our Discord bots.",
|
"description": "Package that pairs with our logging tool to provide analytics for our Discord bots.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"private": false,
|
"private": false,
|
||||||
|
|||||||
+1
-1
@@ -34,7 +34,7 @@ export class DiscordAnalytics {
|
|||||||
if (this.job) {
|
if (this.job) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.job = scheduleJob("metrics", "0 * * * *", async() => {
|
this.job = scheduleJob("metrics", "0 0 * * *", async() => {
|
||||||
try {
|
try {
|
||||||
const fakeGuilds = await this.client.guilds.fetch();
|
const fakeGuilds = await this.client.guilds.fetch();
|
||||||
const guilds = await Promise.all(
|
const guilds = await Promise.all(
|
||||||
|
|||||||
Reference in New Issue
Block a user