mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
fix: types
This commit is contained in:
1 parent
ff4be57faf
commit
42b169cf60
3 files changed
+4
-3
No files matched your search
@@ -46,4 +46,4 @@ jobs:
|
||||
$env:DATABASE_URL = "${{ secrets.DATABASE_URL }}"
|
||||
$env:VIDEOS_SHEET = "${{ secrets.VIDEOS_SHEET }}"
|
||||
$env:GOOGLE_APPLICATION_CREDENTIALS = "${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}"
|
||||
bun scripts/buildAssets/index.ts --all-targets --depot --production
|
||||
bun build:assets --all-targets --depot --production
|
||||
@@ -12,6 +12,7 @@
|
||||
"build:sitemap": "bun scripts/sitemap.ts",
|
||||
"build:docs": "vitepress build docs",
|
||||
"build:ratingleaderboard": "bun --script scripts/buildRatingLeaderboard.ts",
|
||||
"build:assets": "bun scripts/buildAssets/index.ts",
|
||||
"dev:bot": "vite-node --script scripts/build && yarn start:bot",
|
||||
"dev:docs": "vitepress dev docs",
|
||||
"dev:website": "next dev",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Locale } from 'discord.js';
|
||||
import { Locale, SlashCommandBuilder } from 'discord.js';
|
||||
import CommandWrapper from '../components/CommandWrapper';
|
||||
import GenericStats from '../components/GenericStats';
|
||||
import NoData from '../components/NoData';
|
||||
@@ -39,7 +39,7 @@ export const inactiveCommand = new Promise<CommandRegistry>((resolve) => {
|
||||
),
|
||||
)
|
||||
.setMinValue(0);
|
||||
}),
|
||||
}) as SlashCommandBuilder,
|
||||
|
||||
async handler(interaction) {
|
||||
const { translate } = translator(interaction.locale);
|
||||
|
||||
Reference in new issue
Block a user