ademondev
Explore posts from serversSIASapphire - Imagine a framework
•Created by ademondev on 2/14/2024 in #sapphire-support
How do interaction handlers pair up with commands
Hello! I'm trying to develop a little discord bot and I loved how complete the sapphire framework is. I've come across the interaction handlers section and tried to implement a command using a Select Menu one. The thing is, to trigger an interaction handler I first need to "make" the interaction through a command (like displaying a button). Let's say the command has a name param, how can I give the interaction-handler that information? Am I not using the right tool for what I'm trying to do?
7 replies