diff --git a/src/commands/eligible.ts b/src/commands/eligible.ts index ba16db405..781134054 100644 --- a/src/commands/eligible.ts +++ b/src/commands/eligible.ts @@ -16,8 +16,6 @@ export const CLANS = { smri: 'Samurai', }; -export const inDev = true; - export async function execute( interaction: ChatInputCommandInteraction, ) { diff --git a/src/commands/stats.ts b/src/commands/stats.ts index f1ce22882..6e564dc15 100644 --- a/src/commands/stats.ts +++ b/src/commands/stats.ts @@ -95,6 +95,17 @@ export async function execute( export const data = new SlashCommandBuilder() .setName('stats') .setDescription("Gets the user's in-game statistics") + .addStringOption((option) => + option + .setName('period') + .setDescription('The last number of days of stats') + .setChoices( + { name: '30 Days', value: '30' }, + { name: '90 Days', value: '90' }, + { name: 'Career', value: 'career' }, + ) + .setRequired(true), + ) .addStringOption((option) => option .setName('server') @@ -111,15 +122,4 @@ export const data = new SlashCommandBuilder() .setName('ign') .setDescription('The username you use in Blitz') .setRequired(true), - ) - .addStringOption((option) => - option - .setName('period') - .setDescription('The last number of days of stats') - .setChoices( - { name: '30 Days', value: '30' }, - { name: '90 Days', value: '90' }, - { name: 'Career', value: 'career' }, - ) - .setRequired(true), );