fix: account list export

This commit is contained in:
TrèsAbhi committed 2023-09-24 17:27:04 -05:00
1 parent b4cab18ecd
commit 96d47a82bc
2 files changed
+2 -3

No files matched your search

+1 -2
View File
@@ -3,12 +3,11 @@ import markdownEscape from 'markdown-escape';
import { REGION_NAMES, Region } from '../constants/regions';
import { WARGAMING_APPLICATION_ID } from '../constants/wargamingApplicationID';
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 addUsernameChoices from '../core/discord/addUsernameChoices';
import embedInfo from '../core/discord/embedInfo';
import { CommandRegistry } from '../events/interactionCreate';
import { AccountList } from '../types/accountList';
export const searchPlayersCommand: CommandRegistry = {
inProduction: true,
+1 -1
View File
@@ -6,7 +6,7 @@ interface Account {
nickname: string;
account_id: number;
}
type AccountList = Account[];
export type AccountList = Account[];
export type AccountListWithServer = (Account & {
region: Region;
})[];