feat: eligible command

This commit is contained in:
TresAbhi committed 2023-06-04 00:01:10 +00:00
1 parent 1d0b428921
commit 804fa58d27
13 files changed
+219 -23

No files matched your search

+2 -2
View File
@@ -1,7 +1,7 @@
import { CacheType, ChatInputCommandInteraction } from 'discord.js';
import { BLITZ_SERVERS, BlitzServer } from '../../constants/servers.js';
import { TanksStats } from '../../types/tanksStats.js';
import errorEmbed from '../interaction/errorEmbed.js';
import negativeEmbed from '../interaction/negativeEmbed.js';
import { args } from '../process/args.js';
import getWargamingResponse from './getWargamingResponse.js';
@@ -17,7 +17,7 @@ export default async function getTankStats(
if (tankStats[id] === null) {
interaction.editReply({
embeds: [
errorEmbed(
negativeEmbed(
'No tank stats available',
`Wargaming says there is no tank stats for this account. This account may not have any battles/tanks or exist in the ${BLITZ_SERVERS[server]} server.`,
),