Dopi
DIdiscord.js - Imagine ❄
•Created by Dopi on 12/16/2024 in #djs-questions
SlashCommand interaction is undefined
Hey, I just encountered an Error I can't explain...
I get an error every time I execute an SlashCommand from my Bot telling me "interaction" is undefined.
I haven't changed anything in my App for a couple of weeks, so I can't tell when this error started to occur.
Things I've checked:
- if discord.js has a newer version that i can install
- already had the latest version 14.16.3
- I republished my SlashCommands to Discord
- still not working
This is an example breakdown of a command in my Application:
Here is the Stacktrace (I edited the path to make it more readable)
npm list:
[email protected]
node -v: v20.16.0
If you need more information just let me know ...15 replies