diff --git a/lib/gateway/events/MessageHandler.ts b/lib/gateway/events/MessageHandler.ts index a4b9187..41d371c 100644 --- a/lib/gateway/events/MessageHandler.ts +++ b/lib/gateway/events/MessageHandler.ts @@ -156,7 +156,6 @@ export class MessageHandler extends GatewayEventHandler { return void interaction.createMessage({ content, isPrivate: true }); } - const treatmentEndTimestamp = performance.now(); const treatmentDuration = treatmentEndTimestamp - treatmentStartTimestamp; void this.client.util.requestDataCollection({ diff --git a/lib/types/misc.d.ts b/lib/types/misc.d.ts index df2be85..809bc66 100644 --- a/lib/types/misc.d.ts +++ b/lib/types/misc.d.ts @@ -12,5 +12,6 @@ export interface DataCollectionProfile { appUserID: string; build: "stable" | "dev"; buildVersion: string; + guildCount: number; ownerID: string; } diff --git a/lib/util/Util.ts b/lib/util/Util.ts index e944f41..ac62e57 100644 --- a/lib/util/Util.ts +++ b/lib/util/Util.ts @@ -59,6 +59,7 @@ export class Util { appUserID: this.#client.user?.id, build: config.branch.toLowerCase().includes("development") ? "dev" : "stable", buildVersion: config.version, + guildCount: this.#client.guilds.size, ownerID: this.#client.user?.ownerID }; }