Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow commands to be written using plaintext as well as slash commands #16

Open
stelitop opened this issue Jul 26, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@stelitop
Copy link
Owner

Currently, commands are only executed as standard slash commands. It would be convenient to allow for text messages using a command prefix and a command name to be parsed and linked to the same code for a slash command.

This behaviour is not simple to resolve. Text messages do not have to reply to ChatInputInteractionEvents, so if the method also works as a SlashCommand they cannot reply to the event directly. The EventResponse alternative can handle this problem.

Another problem would be the use of a "command prefix" often seen, such as !, $ etc. This prefix should be customisable on a per-guild basis, as it can conflict with the prefixes of other bots or the users might not like the default prefix.

@stelitop stelitop added the enhancement New feature or request label Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant