mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 03:29:51 +02:00
feat: merged stats and tankstats
This commit is contained in:
1 parent
0cf0e63fda
commit
d9690460d5
14 files changed
+195
-338
No files matched your search
@@ -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)) {
|
||||
|
||||
Reference in new issue
Block a user