no errors etc not not running script

Hey I’m using discord.js in VS code my bot is online but running the main script to utilise the bot isn’t working there no issues showing up in VSC what I mean by using the main script is I’m making a moderation bot so when I typed !mute nothing worked
18 Replies
d.js toolkit
d.js toolkit9mo 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
chewie9mo ago
do you have the required intents for message commands? Guilds, GuildMessages and MessageContent specifically
Zay
ZayOP9mo ago
Ya
chewie
chewie9mo ago
Ya as in you have them?
Zay
ZayOP9mo ago
Yes I do
chewie
chewie9mo ago
show your client constructor and messageCreate event
Zay
ZayOP9mo ago
I did have an issue the first time Cause it wasn’t working with intend.flag But I resolved it but bot doesn’t respond to anything
chewie
chewie9mo ago
again show your client constructor and messageCreate event
Zay
ZayOP9mo ago
How do I do that
chewie
chewie9mo ago
you take it and post it ❓
Zay
ZayOP9mo ago
So basically you wanna see the whole script 1 sec
chewie
chewie9mo ago
the relevant parts, yes
Zay
ZayOP9mo ago
chewie
chewie9mo ago
thats not even v13 code please update, thanks
d.js docs
d.js docs9mo ago
Version 14 has released! Please update at your earliest convenience. - Update: npm rm discord.js npm i discord.js - Update guide (use CTRL + F to search for the old method or property)
Zay
ZayOP9mo ago
What version is it
chewie
chewie9mo ago
v12 or worse
Zay
ZayOP9mo ago
Oh shit wtf 😭
Want results from more Discord servers?
Add your server