feat: update bot chunk 3

This commit is contained in:
tresabhi committed 2025-01-16 13:53:29 -06:00
1 parent 122b3f6478
commit 5499cb5cca
9 files changed
+69 -46

No files matched your search

@@ -12,8 +12,6 @@ import {
SlashCommandSubcommandsOnlyBuilder,
} from 'discord.js';
import { RenderConfiguration } from '../../core/blitzkit/renderConfiguration';
import { handleAutocomplete } from './handlers/autocomplete';
import { handleChatInputCommand } from './handlers/chatInputCommand';
export type InteractionRawReturnable =
| string
@@ -109,9 +107,9 @@ export const commands = Promise.allSettled(COMMANDS_RAW).then((rawCommands) => {
export async function interactionCreate(interaction: Interaction<CacheType>) {
if (interaction.isAutocomplete()) {
handleAutocomplete(interaction);
// handleAutocomplete(interaction);
} else if (interaction.isChatInputCommand()) {
handleChatInputCommand(interaction);
// handleChatInputCommand(interaction);
} else if (interaction.isButton()) {
// handleButton(interaction);
}