mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: kit 3
This commit is contained in:
1 parent
e53bdd8e19
commit
051997d2d3
21 files changed
+105
-96
No files matched your search
@@ -84,7 +84,7 @@
|
||||
|
||||
// embedWarning(
|
||||
// 'This is an approximation!',
|
||||
// "Wargaming provides very little information about platoons publicly. Caveats:\n- Players in two different clans platooning artificially inflates the total count\n- Game-mode battles aren't counted since Wargaming doesn't publicly share that data\n- This command is also subject to Blitzrinth's reset times (use `/about timezones` for more info)",
|
||||
// "Wargaming provides very little information about platoons publicly. Caveats:\n- Players in two different clans platooning artificially inflates the total count\n- Game-mode battles aren't counted since Wargaming doesn't publicly share that data\n- This command is also subject to Blitzkit's reset times (use `/about timezones` for more info)",
|
||||
// ),
|
||||
// ];
|
||||
// },
|
||||
|
||||
@@ -9,7 +9,7 @@ export const pingCommand = new Promise<CommandRegistry>((resolve) => {
|
||||
handlesInteraction: true,
|
||||
|
||||
command: createLocalizedCommand('ping', [
|
||||
{ subcommand: 'blitzrinth' },
|
||||
{ subcommand: 'blitzkit' },
|
||||
{ subcommand: 'wotb' },
|
||||
]),
|
||||
|
||||
@@ -18,7 +18,7 @@ export const pingCommand = new Promise<CommandRegistry>((resolve) => {
|
||||
const subcommand = interaction.options.getSubcommand();
|
||||
const executionStart = Date.now();
|
||||
|
||||
if (subcommand === 'blitzrinth') {
|
||||
if (subcommand === 'blitzkit') {
|
||||
await interaction.editReply(t`bot.commands.ping.body.pong`);
|
||||
} else {
|
||||
await fetch('https://api.wotblitz.com/');
|
||||
|
||||
Reference in new issue
Block a user