mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: organized files
This commit is contained in:
1 parent
f2ae698438
commit
7dd3913ae8
51 files changed
+68
-68
No files matched your search
@@ -1,7 +1,7 @@
|
||||
import { CacheType, ChatInputCommandInteraction } from 'discord.js';
|
||||
import { BlitzServer } from '../../constants/servers.js';
|
||||
import { serverAndIdPattern } from '../discord/resolvePlayer.js';
|
||||
import errorWithCause from '../node/errorWithCause.js';
|
||||
import { serverAndIdPattern } from '../options/resolvePlayer.js';
|
||||
import listClansPanServer from './listClansPanServer.js';
|
||||
|
||||
export default async function getBlitzClan(
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Period } from '../options/addPeriodSubCommands.js';
|
||||
import { Period } from '../discord/addPeriodSubCommands.js';
|
||||
import getTimeDaysAgo from './getTimeDaysAgo.js';
|
||||
|
||||
export default function getPeriodStart(period: Exclude<Period, 'custom'>) {
|
||||
|
||||
File renamed without changes.
@@ -2,7 +2,7 @@ import {
|
||||
SlashCommandSubcommandBuilder,
|
||||
SlashCommandSubcommandGroupBuilder,
|
||||
} from 'discord.js';
|
||||
import { PERIOD_NAMES } from '../interaction/resolvePeriodFromCommand.js';
|
||||
import { PERIOD_NAMES } from '../discord/resolvePeriodFromCommand.js';
|
||||
|
||||
export type Period = 'today' | '30' | '60' | '90' | 'career' | 'custom';
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+1
-1
@@ -8,7 +8,7 @@ import { CYCLIC_API } from '../../constants/cyclic.js';
|
||||
import getPeriodNow from '../blitzstars/getPeriodNow.js';
|
||||
import getPeriodStart from '../blitzstars/getPeriodStart.js';
|
||||
import getTimeDaysAgo from '../blitzstars/getTimeDaysAgo.js';
|
||||
import { Period } from '../options/addPeriodSubCommands.js';
|
||||
import { Period } from '../discord/addPeriodSubCommands.js';
|
||||
|
||||
export const PERIOD_NAMES: Record<Period, string> = {
|
||||
today: "Today's statistics",
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,5 +1,5 @@
|
||||
import { ResponderReturnable } from '../../server.js';
|
||||
import jsxToSvg from '../ui/jsxToSvg.js';
|
||||
import jsxToSvg from '../node/jsxToSvg.js';
|
||||
|
||||
export default async function normalizeResponderReturnable(
|
||||
returnable: ResponderReturnable,
|
||||
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user