mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: core chunk 7
This commit is contained in:
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>,
|
||||
|
||||
@@ -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';
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
import { Client } from 'discord.js';
|
||||
import isDev from '../LEGACY_core/node/isDev';
|
||||
import isDev from '../core/blitzkrieg/isDev';
|
||||
|
||||
export default function ready(client: Client<true>) {
|
||||
console.log(
|
||||
|
||||
Reference in new issue
Block a user