mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
fix: /statsfull now uses null tankId when not available
This commit is contained in:
1 parent
d1d8aad6c7
commit
c2d2d076f0
2 files changed
+7
-7
No files matched your search
@@ -35,7 +35,7 @@ export default {
|
||||
const player = await resolvePlayerFromCommand(interaction);
|
||||
const period = resolvePeriodFromCommand(interaction);
|
||||
const tankIdRaw = interaction.options.getString('tank')!;
|
||||
const tankId = commandGroup === 'tank' ? resolveTankId(tankIdRaw) : 0;
|
||||
const tankId = commandGroup === 'tank' ? resolveTankId(tankIdRaw) : null;
|
||||
const start = interaction.options.getInteger('start');
|
||||
const end = interaction.options.getInteger('end');
|
||||
const path = interactionToURL(interaction, {
|
||||
|
||||
Reference in new issue
Block a user