mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
feat: logs
This commit is contained in:
1 parent
b96ff2e239
commit
c8edd16eb3
2 files changed
+16
-2
No files matched your search
@@ -0,0 +1,13 @@
|
||||
# Blitzkrieg 1.17.2
|
||||
|
||||
Introducing the new `/research` command!
|
||||
|
||||
## Features
|
||||
|
||||
- Added the `/research` command
|
||||
- Type in the name of a tech tree tank you desire to research and this command will list all the expenses in researching all tanks in that line
|
||||
- The starting tank is inferred automatically by the tanks you own
|
||||
- This may be a bit inaccurate because of the lack of accurate information Wargaming provides about owned tanks
|
||||
- You are also manually provide a starting tank and a user to see the progress on a line for
|
||||
- Replaced Vercel Analytics (which collapsed under the insane amount of traffic on the website) with Google Analytics
|
||||
- Spaced armor can now be toggled in the Tankopedia armor sandbox
|
||||
@@ -17,6 +17,7 @@ import {
|
||||
TIER_ROMAN_NUMERALS,
|
||||
} from '../core/blitzkrieg/tankDefinitions/constants';
|
||||
import { tankIconPng } from '../core/blitzkrieg/tankIconPng';
|
||||
import addUsernameChoices from '../core/discord/addUsernameChoices';
|
||||
import autocompleteTanks from '../core/discord/autocompleteTanks';
|
||||
import { createLocalizedCommand } from '../core/discord/createLocalizedCommand';
|
||||
import { localizationObject } from '../core/discord/localizationObject';
|
||||
@@ -31,7 +32,6 @@ export const researchCommand = new Promise<CommandRegistry>((resolve) => {
|
||||
resolve({
|
||||
inProduction: true,
|
||||
inPublic: true,
|
||||
inPreview: true,
|
||||
|
||||
command: createLocalizedCommand('research')
|
||||
.addStringOption((option) =>
|
||||
@@ -67,7 +67,8 @@ export const researchCommand = new Promise<CommandRegistry>((resolve) => {
|
||||
)
|
||||
.setAutocomplete(true)
|
||||
.setRequired(false),
|
||||
),
|
||||
)
|
||||
.addStringOption(addUsernameChoices),
|
||||
|
||||
async handler(interaction) {
|
||||
const { t, translate } = translator(interaction.locale);
|
||||
|
||||
Reference in new issue
Block a user