You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 1, 2021. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 1, 2021. It is now read-only.
bind the button/interaction framework to commands. Every interaction is assigned to a specific command (e.g. warning per button triggers a method ik the warn command). The interaction id could have the format commandname:whatever (and commandname:subcommandname:whatever if the command uses subcommands).
Make the interaction framework independent of buttons allowing other interactions.
Use a default-method in the command interface for triggering interaction messages. This would make commands work without interaction responses.
Let the interaction action return a response just like the coommand action does so that the bot definitely responds (also include a response on thrown exceptions).
Activity
danthe1st commentedon Nov 9, 2021
I want to suggest a few things about this:
commandname:whatever(andcommandname:subcommandname:whateverif the command uses subcommands).default-method in the command interface for triggering interaction messages. This would make commands work without interaction responses.