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 toolkit2y 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 QuartzOP2y ago
Discord.JS Version
└── [email protected] deduped
└── [email protected] 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 User2y ago
Message Not Public
Sign In & Join Server To View
Chriss Quartz
Chriss QuartzOP2y 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