block on components
This commit is contained in:
parent
752c2f42bb
commit
763e587289
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -69,7 +69,7 @@ client.on("interactionCreate", async (interaction) => {
|
||||||
const cv2Text = interaction.data.options.getBoolean("cv2");
|
const cv2Text = interaction.data.options.getBoolean("cv2");
|
||||||
|
|
||||||
if (cv2Text)
|
if (cv2Text)
|
||||||
interaction.createFollowup({
|
return interaction.createFollowup({
|
||||||
flags: MessageFlags.IS_UIKIT_COMPONENTS,
|
flags: MessageFlags.IS_UIKIT_COMPONENTS,
|
||||||
components: [
|
components: [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue