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
@@ -9,7 +9,6 @@ import getPeriodStart from '../core/blitzstars/getPeriodStart.js';
import getTankStatsOverTime from '../core/blitzstars/getTankStatsOverTime.js';
import { tankAverages } from '../core/blitzstars/tankAverages.js';
import cleanTable, { TableInput } from '../core/interaction/cleanTable.js';
import cmdName from '../core/interaction/cmdName.js';
import negativeEmbed from '../core/interaction/negativeEmbed.js';
import positiveEmbed from '../core/interaction/positiveEmbed.js';
import addUsernameOption from '../core/options/addUsernameOption.js';
@@ -30,7 +29,7 @@ export default {
inPublic: false,
command: new SlashCommandBuilder()
.setName(cmdName('eligible'))
.setName('eligible')
.setDescription('Checks eligibility for any Skilled clan')
.addStringOption((option) =>
option