What do you want to request?
A decorator to react to message component events, such as a button being pressed
Do you have any solutions?
I think right now the way to do this is
client.on("interaction", (e) => {
if (e.isMessageComponent()) {
handleComponent(e);
}
})
But this isn't pretty and does not work too well with ApplicationCommandsModule.
Do you have anything to tell us about your request?
Other events, such as slash commands and autocomplete have their own decorators that work wonderfully (@slash and @autocomplete)
What do you want to request? A decorator to react to message component events, such as a button being pressed
Do you have any solutions? I think right now the way to do this is
But this isn't pretty and does not work too well with
ApplicationCommandsModule
.Do you have anything to tell us about your request? Other events, such as slash commands and autocomplete have their own decorators that work wonderfully (
@slash
and@autocomplete
)