I'm not receiving any Context Menu Command interactions
the command gets registered correctly and I've tried changing the bot permissions, adding/removing intents and also different code examples from the docs but none of them seem to work
I've enabled trace logging to see if anything would show up but apparently not,
loadMessageCommandListeners
also doesn't change anything
I'm using @sapphire/[email protected]
, [email protected]
and also ESM but I doubt that's relevant
lmk if I need to provide more details5 Replies
Uhhh ... At a glance things look fine. Commands being picked up so it's not the main property in package.json, code is loaded so it's not ESM path resolution.. slash commands so not related to message ones.
Does you application by any chance have an interaction endpoint URL set up? That's the only thought I have without having the full code in front of me in the form of a GitHub repo or zip.
it doesn't, the only things I touched in the dashboard were the intents
slash commands work perfectly fine tho
edit: I added an interaction listener for debugging purposes and it looks like that's picking it up 😕
so that means it's not getting passed properly to
contextMenuRun
I'll need the full code then to have a proper look
hm very weird, I tried to reproduce the issue in a new repository and now it's working for some reason
I'll mess around some more and get back to you
found it, forgot to add a
contextMenuRun
method to my precondition 😅 thanks for the help anyway tho