feat: swap core and _core

This commit is contained in:
TrèsAbhi committed 2023-10-14 11:06:03 -05:00
1 parent 07e3660388
commit b827f7f730
113 files changed
+254 -247

No files matched your search

@@ -1,7 +1,7 @@
import { ButtonInteraction, CacheType } from 'discord.js';
import { commands } from '..';
import normalizeInteractionReturnable from '../../../core/discord/normalizeInteractionReturnable';
import throwError from '../../../core/node/throwError';
import normalizeInteractionReturnable from '../../../LEGACY_core/discord/normalizeInteractionReturnable';
import throwError from '../../../LEGACY_core/node/throwError';
export default async function handleButton(
interaction: ButtonInteraction<CacheType>,
@@ -7,10 +7,10 @@ import {
} from 'discord.js';
import { commands } from '..';
import discord from '../../../../discord.json' assert { type: 'json' };
import embedNegative from '../../../core/discord/embedNegative';
import embedWarning from '../../../core/discord/embedWarning';
import normalizeInteractionReturnable from '../../../core/discord/normalizeInteractionReturnable';
import { psa } from '../../../core/discord/psa';
import embedNegative from '../../../LEGACY_core/discord/embedNegative';
import embedWarning from '../../../LEGACY_core/discord/embedWarning';
import normalizeInteractionReturnable from '../../../LEGACY_core/discord/normalizeInteractionReturnable';
import { psa } from '../../../LEGACY_core/discord/psa';
export default async function handleChatInputCommand(
interaction: ChatInputCommandInteraction<CacheType>,
+3 -3
View File
@@ -14,6 +14,9 @@ import {
SlashCommandSubcommandsOnlyBuilder,
} from 'discord.js';
import discord from '../../../discord.json' assert { type: 'json' };
import getClientId from '../../LEGACY_core/node/getClientId';
import isDev from '../../LEGACY_core/node/isDev';
import { secrets } from '../../LEGACY_core/node/secrets';
import { aboutCommand } from '../../commands/about';
import { debugCommand } from '../../commands/debug';
import { eligibleCommand } from '../../commands/eligible';
@@ -31,9 +34,6 @@ import { searchPlayersCommand } from '../../commands/searchPlayers';
import { searchTanksCommand } from '../../commands/searchTanks';
import { statsCommand } from '../../commands/stats';
import { todayCommand } from '../../commands/today';
import getClientId from '../../core/node/getClientId';
import isDev from '../../core/node/isDev';
import { secrets } from '../../core/node/secrets';
import handleAutocomplete from './handlers/autocomplete';
import handleButton from './handlers/button';
import handleChatInputCommand from './handlers/chatInputCommand';