We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 441a75d commit ada1f55Copy full SHA for ada1f55
src/discordjs/index.ts
@@ -199,7 +199,7 @@ export default class DiscordAnalytics {
199
*/
200
public async trackInteractions(interaction: any, interactionNameResolver?: (interaction: any) => string) {
201
if (this._debug) console.log("[DISCORDANALYTICS] trackInteractions() triggered")
202
- if (!this._isReady) console.error(ErrorCodes.INSTANCE_NOT_INITIALIZED)
+ if (!this._isReady) return console.error(ErrorCodes.INSTANCE_NOT_INITIALIZED)
203
204
let guilds: { locale: Locale, number: number }[] = []
205
this._client.guilds.cache.map((current: any) => guilds.find((x) => x.locale === current.preferredLocale) ?
0 commit comments