lil doubt
like i wanna make a slash command when i use that slash command while replying to some guy, the message i am replying to should get deleted
13 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 OPdont mind my broken ass english
You cant use slash commands in replies
You can use message context menu command instead
i can build it along with slash commands right?
Yes, they all are application commands
i dont see it? if other slash commands are getting register this should get too
Restart your Discord app
yeah didnt worked im using vencord
should i try with browser?
Are you sure it get registered globally or in the guild you tried to see it?
the bot have admin perms
yooooo
YOOOOOOOOOOOOOO
@one fluffy floofy wolvinny 🌈 can you takwe a look (:
i see
but yeah why it aint working
yeah i am using nodemon
alright i wrote another code
it worked
lemme just try implement it into main codebase
yeah i did that too
aight so the fix was
.map(command => command.toJSON());