feat: lenient username and clan lookup

This commit is contained in:
TresAbhi committed 2023-05-16 02:02:50 +00:00
1 parent 9df4d52bb5
commit 9a9ea3a71a
19 files changed
+292 -209

No files matched your search

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