Crow baot

pls help me for my crow bot
No description
26 Replies
d.js toolkit
d.js toolkit2w 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
'Hz
'HzOP2w ago
?
Samtino
Samtino2w ago
You're defining Discord.Intents.FLAGS, you should instead be importing GatewayIntentBits and doing GatewayIntentBits.DirectMessages (guessing since I can't see the whole code, just 1 line) However, if you want to keep it your current way, FLAGS wouldn't be all caps...iirc it's all lowercase But again, this is only a guess without seeing the code Or knowing what version of DJS you're on
'Hz
'HzOP2w ago
No description
Samtino
Samtino2w ago
I fixed my typo GatewayIntentBits
Amgelo
Amgelo2w ago
it looks like you're using v13 code did you write this?
'Hz
'HzOP2w ago
no
Amgelo
Amgelo2w ago
do you know how to code at all?
'Hz
'HzOP2w ago
yes a little
d.js docs
d.js docs2w ago
:guide: Home: Introduction - Before you begin... read more
Amgelo
Amgelo2w ago
if the code is already done in v13 you might want to take a look at this to see how to upgrade it https://discordjs.guide/additional-info/changes-in-v14.html
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
'Hz
'HzOP2w ago
How do I know which version I'm in?
Amgelo
Amgelo2w ago
that code looks like v13, but you installed v14 so it won't work
d.js docs
d.js docs2w ago
Determining your discord.js version: - npm list discord.js - Make sure you use the right documentation for your installed version (selector on the left)
'Hz
'HzOP2w ago
No description
Samtino
Samtino2w ago
Then you don't have any version of DiscordJS installed
Amgelo
Amgelo2w ago
can you npm list -g discord.js
Samtino
Samtino2w ago
https://github.com/xxerick/CrowBot-Remade/blob/main/index.js I'm guessing this is the bot...this is v12
GitHub
CrowBot-Remade/index.js at main · xxerick/CrowBot-Remade
𓄿 CrowBot Remade - It's a multipurpose bot which is a remade of a py discord bot which is selled for 5e but this is in js ! - xxerick/CrowBot-Remade
Amgelo
Amgelo2w ago
:Thonk:
No description
monbrey
monbrey2w ago
big yikes
'Hz
'HzOP2w ago
No description
treble/luna
treble/luna2w ago
Thats still v12/13 code if you have installed djs at all but considering this repo uses v12, i doubt you're gonna be anything witg it
Amgelo
Amgelo2w ago
yeah this repo uses some questionable packages to say the least, we won't be able to give you support with it and that's excluding the v12 (2 major versions behind) djs version and whatever "discord.js.old" is
Unknown User
Unknown User7d ago
Message Not Public
Sign In & Join Server To View
Amgelo
Amgelo7d ago
this should give a hint I don't know and it's not from djs

Did you find this page helpful?