generated from nhcarrigan/template
refactor: consolidate modal routing and use LabelBuilder for modal components
Merges modalInteractionCreate into interactionCreate, and replaces ActionRowBuilder with LabelBuilder for the announcement modal components.
This commit is contained in:
+2
-2
@@ -6,10 +6,10 @@
|
||||
|
||||
import { DiscordAnalytics } from "@nhcarrigan/discord-analytics";
|
||||
import { Client, Events, GatewayIntentBits, Partials } from "discord.js";
|
||||
import { chatInputInteractionCreate } from "./events/interactionCreate.js";
|
||||
import {
|
||||
chatInputInteractionCreate,
|
||||
modalSubmitInteractionCreate,
|
||||
} from "./events/modalInteractionCreate.js";
|
||||
} from "./events/interactionCreate.js";
|
||||
import { logger } from "./utils/logger.js";
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user