feat: add buttons to throw results
Node.js CI / Lint and Test (push) Successful in 42s

This commit is contained in:
2025-08-15 15:00:27 -07:00
parent 2ad10115b8
commit 2544d2d15b
10 changed files with 286 additions and 9 deletions
+2 -1
View File
@@ -11,6 +11,7 @@ import {
MessageFlags,
TextDisplayBuilder,
type ChatInputCommandInteraction,
type ButtonInteraction,
} from "discord.js";
/**
@@ -18,7 +19,7 @@ import {
* @param interaction - The interaction object from Discord.
*/
export const sendUnentitledResponse = async(
interaction: ChatInputCommandInteraction,
interaction: ChatInputCommandInteraction | ButtonInteraction,
): Promise<void> => {
const components = [
new TextDisplayBuilder().setContent(