feat: moved cmdName behaviour to interaction create

This commit is contained in:
TresAbhi committed 2023-06-21 02:01:12 +00:00
1 parent 3e8e198c88
commit 6f21789c46
17 files changed
+21 -37

No files matched your search

+1 -2
View File
@@ -8,7 +8,6 @@ import { BLITZ_SERVERS } from '../constants/servers.js';
import clanAutocomplete from '../core/autocomplete/clan.js';
import getBlitzClan from '../core/blitz/getBlitzClan.js';
import getWargamingResponse from '../core/blitz/getWargamingResponse.js';
import cmdName from '../core/interaction/cmdName.js';
import addClanChoices from '../core/options/addClanChoices.js';
import { WARGAMING_APPLICATION_ID } from '../core/process/args.js';
import { CommandRegistry } from '../events/interactionCreate.js';
@@ -23,7 +22,7 @@ export default {
inPublic: true,
command: new SlashCommandBuilder()
.setName(cmdName('inactive'))
.setName('inactive')
.setDescription('Lists all inactive players')
.addStringOption(addClanChoices)
.addNumberOption((option) =>