feat: used dahses for command readibility

This commit is contained in:
TresAbhi committed 2023-08-04 02:24:14 +00:00
1 parent 23dd088466
commit 91f364b76a
13 files changed
+37 -49

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ export const fullStatsCommand = new Promise<CommandRegistryRaw>(
async (resolve) => {
const command = await addStatTypeSubCommandGroups(
new SlashCommandBuilder()
.setName('fullstats')
.setName('full-stats')
.setDescription('Full in-game statistics'),
);
+1 -1
View File
@@ -49,7 +49,7 @@ export const ownedTanksCommand: CommandRegistry = {
inPublic: true,
command: new SlashCommandBuilder()
.setName('ownedtanks')
.setName('owned-tanks')
.setDescription("Shows a player's owned tanks")
.addStringOption((option) =>
option
+1 -1
View File
@@ -20,7 +20,7 @@ export const playerAchievementsCommand: CommandRegistry = {
inPublic: true,
command: new SlashCommandBuilder()
.setName('playerachievements')
.setName('player-achievements')
.setDescription("All the player's achievements")
.addStringOption(addUsernameChoices)
.addStringOption((option) =>
+1 -1
View File
@@ -16,7 +16,7 @@ export const playerInfoCommand: CommandRegistry = {
inPublic: true,
command: new SlashCommandBuilder()
.setName('playerinfo')
.setName('player-info')
.setDescription('Basic information about a player')
.addStringOption(addUsernameChoices),
+1 -1
View File
@@ -15,7 +15,7 @@ export const searchClansCommand: CommandRegistry = {
inPublic: true,
command: new SlashCommandBuilder()
.setName('searchclans')
.setName('search-clans')
.setDescription('Search clans')
.addStringOption(addRegionChoices)
.addStringOption((option) => addClanChoices(option).setAutocomplete(false))
+1 -1
View File
@@ -16,7 +16,7 @@ export const searchPlayersCommand: CommandRegistry = {
inPublic: true,
command: new SlashCommandBuilder()
.setName('searchplayers')
.setName('search-players')
.setDescription('Search players in a Blitz server')
.addStringOption(addRegionChoices)
.addStringOption((option) =>
+1 -1
View File
@@ -12,7 +12,7 @@ export const searchTanksCommand: CommandRegistry = {
inPublic: true,
command: new SlashCommandBuilder()
.setName('searchtanks')
.setName('search-tanks')
.setDescription('Search tanks')
.addStringOption((option) => addTankChoices(option).setAutocomplete(false))
.addIntegerOption((option) =>