Performance testing
diff --git a/src/commands/settings/stats.ts b/src/commands/settings/stats.ts
index f19998a..a768cb8 100644
--- a/src/commands/settings/stats.ts
+++ b/src/commands/settings/stats.ts
@@ -224,6 +224,16 @@
return true;
};
+const autocomplete = async (interaction: AutocompleteInteraction): Promise<string[]> => {
+ if (!interaction.guild) return [];
+ const prompt = interaction.options.getString("tag");
+ // generateStatsChannelAutocomplete(int.options.getString("name") ?? "")
+ const results = generateStatsChannelAutocomplete(prompt ?? "");
+ return results;
+};
+
+
+
export { command };
export { callback };
export { check };