lets go we ball
This commit is contained in:
parent
763e587289
commit
3c03e90325
1 changed files with 4 additions and 3 deletions
7
index.js
7
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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue