-
Notifications
You must be signed in to change notification settings - Fork 3
Labels
Description
Before:
this._client.guilds.cache.map((current: any) => guilds.find((x) => x.locale === current.preferredLocale) ?
++guilds.find((x) => x.locale === current.preferredLocale)!.number :
guilds.push({ locale: current.preferredLocale, number: 1 }));After:
this.updateOrInsert(
this.stats_data.guildsLocales,
(x) => x.locale === interaction.guild?.preferredLocale,
(x) => x.number++,
() => ({ locale: interaction.guild?.preferredLocale, number: 1 })
);Reactions are currently unavailable