command issue

i have everything done created and log shows no issue its fresh bot but my bot isnt responding when i use any command like !kick no commands are working pls help
8 Replies
d.js toolkit
d.js toolkit6mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by staff
chewie 🌈
chewie 🌈6mo ago
show your intents
ᴀᴋᴀsʜ
ᴀᴋᴀsʜ6mo ago
okh heres my code line
ᴀᴋᴀsʜ
ᴀᴋᴀsʜ6mo ago
bro @chewie 🎅
chewie 🌈
chewie 🌈6mo ago
you are missing the MessageContent intent
ᴀᴋᴀsʜ
ᴀᴋᴀsʜ6mo ago
okkkkkkkkk tyms Help C:\Users\Akash\FairyPixelBot\bot.js:151 const embedPing = new MessageEmbed() ^ TypeError: MessageEmbed is not a constructor at Client.<anonymous> (C:\Users\Akash\FairyPixelBot\bot.js:151:25) at Client.emit (node:events:514:28) at MessageCreateAction.handle (C:\Users\Akash\FairyPixelBot\node_modules\discord.js\src\client\actions\MessageCreate.js:28:14) at module.exports [as MESSAGE_CREATE] (C:\Users\Akash\FairyPixelBot\node_modules\discord.js\src\client\websocket\handlers\MESSAGE_CREATE.js:4:32) at WebSocketManager.handlePacket (C:\Users\Akash\FairyPixelBot\node_modules\discord.js\src\client\websocket\WebSocketManager.js:355:31) at WebSocketManager.<anonymous> (C:\Users\Akash\FairyPixelBot\node_modules\discord.js\src\client\websocket\WebSocketManager.js:239:12) at WebSocketManager.emit (C:\Users\Akash\FairyPixelBot\node_modules@vladfrangu\async_event_emitter\dist\index.cjs:282:31) at WebSocketShard.<anonymous> (C:\Users\Akash\FairyPixelBot\node_modules@discordjs\ws\dist\index.js:1173:51) at WebSocketShard.emit (C:\Users\Akash\FairyPixelBot\node_modules@vladfrangu\async_event_emitter\dist\index.cjs:282:31) at WebSocketShard.onMessage (C:\Users\Akash\FairyPixelBot\node_modules@discordjs\ws\dist\index.js:988:14) Node.js v20.10.0 @chewie 🎅
chewie 🌈
chewie 🌈6mo ago
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.