feat: searchclans

This commit is contained in:
TresAbhi committed 2023-05-20 01:37:18 +00:00
1 parent c6f462f0d7
commit c61877a267
5 files changed
+69 -6

No files matched your search

@@ -1,9 +1,10 @@
import { SlashCommandStringOption } from 'discord.js';
export default function addClanOption(option: SlashCommandStringOption) {
export default function addClanChoices(option: SlashCommandStringOption) {
return option
.setName('clan')
.setDescription('The clan name or tag you are checking')
.setAutocomplete(true)
.setMinLength(2)
.setRequired(true);
}