Using components with cmdroute #447
Unanswered
holedaemon
asked this question in
Help
Replies: 1 comment 3 replies
-
How are you using |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I've been using the library for a while now, I appreciate the work that's been put into it. One thing I've always had trouble with is using it for components. When I say components, I specifically mean Discord's application command components, for clarity.
Today I tried adding a component handler with cmdroute:
but when I try using the command via Discord, the application doesn't respond. I've read the source code for cmdroute's handling, and it seems like using the custom_id to register the component is the correct way, but may I'm wrong? I also wrote a middleware that logs the
InteractionEvent
as it comes through, to see that we're actually getting something, but nothing happens when I trigger the command.I'm at a loss here, I'm not sure what I could possibly doing wrong. Any insight would be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions