feat: core chunk 7

This commit is contained in:
TrèsAbhi committed 2023-10-14 11:36:10 -05:00
1 parent d726005c38
commit 01dd7ad9c6
39 files changed
+83 -87

No files matched your search

@@ -1,7 +1,7 @@
import { ButtonInteraction, CacheType } from 'discord.js';
import { commands } from '..';
import normalizeInteractionReturnable from '../../../LEGACY_core/discord/normalizeInteractionReturnable';
import throwError from '../../../LEGACY_core/node/throwError';
import normalizeInteractionReturnable from '../../../core/discord/normalizeInteractionReturnable';
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 normalizeInteractionReturnable from '../../../LEGACY_core/discord/normalizeInteractionReturnable';
import { psa } from '../../../LEGACY_core/discord/psa';
import { psa } from '../../../core/discord/psa';
import embedNegative from '../../../core/discord/embedNegative';
import embedWarning from '../../../core/discord/embedWarning';
import normalizeInteractionReturnable from '../../../core/discord/normalizeInteractionReturnable';
export default async function handleChatInputCommand(
interaction: ChatInputCommandInteraction<CacheType>,
+2 -2
View File
@@ -14,8 +14,6 @@ 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';
@@ -34,6 +32,8 @@ import { searchPlayersCommand } from '../../commands/searchPlayers';
import { searchTanksCommand } from '../../commands/searchTanks';
import { statsCommand } from '../../commands/stats';
import { todayCommand } from '../../commands/today';
import getClientId from '../../core/blitzkrieg/getClientId';
import isDev from '../../core/blitzkrieg/isDev';
import handleAutocomplete from './handlers/autocomplete';
import handleButton from './handlers/button';
import handleChatInputCommand from './handlers/chatInputCommand';