bot with no status
how can i make a discord bot that have no status like koya and giveaway i am using discord?js v14 and node.js 18
19 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!
- ✅
Marked as resolved by staffi answered you
HTTP-only applications receive interactions through HTTP webhooks instead of the Discord Gateway. Bots that are not connected to the Gateway, but use HTTP interactions appear as online without a status. Discord.js does not support HTTP interactions. Use discord-interactions instead.
the problem that i am using javascript
should i rewrite
the all my bot code
did you, at all, read the docs of the package
and rewrite it using this discord interaction
yeah i read it
well
then you should know it uses javascript
GitHub
GitHub - Munz1211-Project/DISCORD-JS-V14-TEMPLATE: DISCORD JS V14 U...
DISCORD JS V14 UPDATE TEMPLATE :3. Contribute to Munz1211-Project/DISCORD-JS-V14-TEMPLATE development by creating an account on GitHub.
here is my bot base
how can i add this package to it ?
you have to use discord-interactions
which is not djs related
ahh , okey but can you just help me know where i will use this package in my bot ?
in wich file if u want
every file
its a library
just like djs is
so i should use it in place of djs ?
yes
okey thanks
i will try remove djs from code and add then http
just to note that we do not offer support for 3rd party packages so if you need additional help you will have to ask elsewhere
yeah i know thanks you