From 3c03e90325d61ca97c44332adfed071091ff72ea Mon Sep 17 00:00:00 2001 From: nin0 Date: Fri, 2 May 2025 07:41:03 -0400 Subject: [PATCH] lets go we ball --- index.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 3b4d898..f31ca2a 100644 --- a/index.js +++ b/index.js @@ -6,7 +6,8 @@ const { ApplicationIntegrationTypes, InteractionContextTypes, MessageFlags, - ComponentTypes + ComponentTypes, + Util } = require("oceanic.js"); const client = new Client({ @@ -71,12 +72,12 @@ client.on("interactionCreate", async (interaction) => { if (cv2Text) return interaction.createFollowup({ flags: MessageFlags.IS_UIKIT_COMPONENTS, - components: [ + components: Util.rawMessageComponents([ { type: ComponentTypes.TEXT, content } - ] + ]) }); interaction.createFollowup(