Skip to content

Slash commands and interactions #371

Discussion options

You must be logged in to vote

I guess you can use on_message event listener here. Then check if the message interaction is not None, if it isn't, message.interaction.name should return the command used. Note it includes sub commands as well.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jbaumgarten
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants