mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-25 03:29:51 +01:00
fix: account list export
This commit is contained in:
1 parent
b4cab18ecd
commit
96d47a82bc
2 files changed
+2
-3
No files matched your search
@@ -3,12 +3,11 @@ import markdownEscape from 'markdown-escape';
|
|||||||
import { REGION_NAMES, Region } from '../constants/regions';
|
import { REGION_NAMES, Region } from '../constants/regions';
|
||||||
import { WARGAMING_APPLICATION_ID } from '../constants/wargamingApplicationID';
|
import { WARGAMING_APPLICATION_ID } from '../constants/wargamingApplicationID';
|
||||||
import getWargamingResponse from '../core/blitz/getWargamingResponse';
|
import getWargamingResponse from '../core/blitz/getWargamingResponse';
|
||||||
import { usernamePattern } from '../core/blitz/listPlayers';
|
import { AccountList, usernamePattern } from '../core/blitz/listPlayers';
|
||||||
import addRegionChoices from '../core/discord/addRegionChoices';
|
import addRegionChoices from '../core/discord/addRegionChoices';
|
||||||
import addUsernameChoices from '../core/discord/addUsernameChoices';
|
import addUsernameChoices from '../core/discord/addUsernameChoices';
|
||||||
import embedInfo from '../core/discord/embedInfo';
|
import embedInfo from '../core/discord/embedInfo';
|
||||||
import { CommandRegistry } from '../events/interactionCreate';
|
import { CommandRegistry } from '../events/interactionCreate';
|
||||||
import { AccountList } from '../types/accountList';
|
|
||||||
|
|
||||||
export const searchPlayersCommand: CommandRegistry = {
|
export const searchPlayersCommand: CommandRegistry = {
|
||||||
inProduction: true,
|
inProduction: true,
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ interface Account {
|
|||||||
nickname: string;
|
nickname: string;
|
||||||
account_id: number;
|
account_id: number;
|
||||||
}
|
}
|
||||||
type AccountList = Account[];
|
export type AccountList = Account[];
|
||||||
export type AccountListWithServer = (Account & {
|
export type AccountListWithServer = (Account & {
|
||||||
region: Region;
|
region: Region;
|
||||||
})[];
|
})[];
|
||||||
|
|||||||
Reference in new issue
Block a user