74 Replies
- 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!Thats v13 code
it is?
And MessageCreateis not an intent
oh
Dont use chatgpt
where is the bitfieldintent docs
but when i remove it it doesnt load at all
define doesnt load
Do you get an error, do you get anyrhing in the console
no error
just does do anything
dont close also
how do you run your file
it just idles
npm start?
But
it does node bot.js
Does your bot show up as online
nope
Show your updatez code
same thing but removed the invalid
Please add the following code to your code base outside of any other event listeners and provide the full log output relevant to your issue.
- Note: if you initialize your Client as
bot
or other identifiers you need to use these instead of client
- If the output is too long to post consider using a bin instead: gist | paste.gg | sourceb.in | hastebinok
I already have console log when client on
and does that log
nope
then add what i said
where
.
use that?
yes
If its ratelimit would it show?
Nvm it just stops at connecting to gateway
preparing to connect to the gateway
do you use a host or vsc?
host
which one
free one?
not replit
there is your issue
?
Free host get ip bans all the time
So to code use vscode
And deploy to a proper, real host
Unknown User•16mo ago
Message Not Public
Sign In & Join Server To View
it was working
Unknown User•16mo ago
Message Not Public
Sign In & Join Server To View
they dont even issue a 403?
Unknown User•16mo ago
Message Not Public
Sign In & Join Server To View
if you mean it was working when throwing that error it wasnt as it wasnt even connecting
Unknown User•16mo ago
Message Not Public
Sign In & Join Server To View
phew almost leaked the token
most likely a ratelimit
Unknown User•16mo ago
Message Not Public
Sign In & Join Server To View
it just pause at loading slash command
Started refreshing global (/) commands.*
Unknown User•16mo ago
Message Not Public
Sign In & Join Server To View
you used chatgpt again didnt you
Yes i can
Please follow the guide
Unknown User•16mo ago
Message Not Public
Sign In & Join Server To View
yes ratelimit
Unknown User•16mo ago
Message Not Public
Sign In & Join Server To View
Discord Developer Portal
Discord Developer Portal — API Docs for Bots and Developers
Integrate your service with Discord — whether it's a bot or a game or whatever your wildest imagination can come up with.
No, the guide doesnt use the v9 api
0-0
Unless you use the v13 guide
Unknown User•16mo ago
Message Not Public
Sign In & Join Server To View
v9 isn’t deprecated yet
Unknown User•16mo ago
Message Not Public
Sign In & Join Server To View
?
no
Unknown User•16mo ago
Message Not Public
Sign In & Join Server To View
is just that v9 may go
like how discordjs 12 did
the api v12 uses still works
Oh
but no slash command or buttons
regardless
Always follow the guide and dont ask djs things to chatgpt
Because you will get the things that caused your first error
Well gonna need to wait for gpt4 to be free
No, neither of those is made to assist you in programming
You need to do some research of your own and not rely on a conversational ai model
chatgpt does research
Yeah, but you dont
up to 2021 spetember
thats the point
If you have to ask chatgpt everything, check out #rules 3 and #resources
This is just like spoonfeeding - You may get the results you want, but you dont learn from it.
This is exactly why we dont provide help in this regard at all
good luck waiting another 2000 years, coz that will never happen.
I can just follow the guide if I feel like chatgpt is getting trash
I will try to make a slash command generator script using the guide