Is there a replacement for this:
https://discord.js.org/docs/packages/discord.js/14.18.0/MessageInteraction:Interface#commandName
That's not deprecated, my bot uses it and i want to migrate to a non-deprecated solution.
#Is there a non-deprecated replacement for MessageInteraction.commandName
9 messages · Page 1 of 1 (latest)
- What's your exact discord.js
npm list discord.jsand nodenode -vversion? - Not a discord.js issue? Check out #1081585952654360687.
- 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!
MessageInteractionMetadata [email protected]
Partial data of the interaction that a message is a result of
Ah wait, no, commandName is not documented by discord on the new interface
could the MessageInteractionMetadata.id be used to find the command name?
that's an interaction id. without having data about the original interaction from somewhere else that's useless
Wait... is it being deprecated already?