feat: merged stats and tankstats

This commit is contained in:
TresAbhi committed 2023-06-19 17:35:28 +00:00
1 parent 0cf0e63fda
commit d9690460d5
14 files changed
+195 -338

No files matched your search

+1 -5
View File
@@ -1,12 +1,8 @@
import { CacheType, ChatInputCommandInteraction } from 'discord.js';
import { go } from 'fuzzysort';
import errorWithCause from '../process/errorWithCause.js';
import { TANKS, tankopedia } from './tankopedia.js';
export default async function resolveTankId(
interaction: ChatInputCommandInteraction<CacheType>,
tank: string,
) {
export default async function resolveTankId(tank: string) {
const number = Number(tank);
if (Number.isNaN(number)) {