I'm getting `TypeError: ActionRowBuilder is not a constructor`

I am importing it correctly like so
const {
Client,
ActionRowBuilder,
ButtonBuilder,
EmbedBuilder,
ModalBuilder,
TextInputBuilder,
TextInputStyle,
ButtonStyle
} = require("discord.js");
const {
Client,
ActionRowBuilder,
ButtonBuilder,
EmbedBuilder,
ModalBuilder,
TextInputBuilder,
TextInputStyle,
ButtonStyle
} = require("discord.js");
4 Replies
d.js toolkit
d.js toolkit12mo ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
Chriss Quartz
Chriss Quartz12mo ago
Discord.JS Version
├── discord.js@14.11.0
└─┬ dkrcommands@1.0.0-beta.4
└── discord.js@14.11.0 deduped
├── discord.js@14.11.0
└─┬ dkrcommands@1.0.0-beta.4
└── discord.js@14.11.0 deduped
Node.JS Version
v18.15.0
v18.15.0
I have some buttons setup and when I click them they are supposed to send an embed with more buttons attached to the embed message
Unknown User
Unknown User12mo ago
Message Not Public
Sign In & Join Server To View
Chriss Quartz
Chriss Quartz12mo ago
It’s the command & event handler I use I’m not home atm so I’ll see what happens and report back Didn't seem to work
Want results from more Discord servers?
Add your server
More Posts