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

Respond to command calls with invalid / missing arguments #830

Open
joseywoermann opened this issue May 26, 2021 · 1 comment · May be fixed by #821
Open

Respond to command calls with invalid / missing arguments #830

joseywoermann opened this issue May 26, 2021 · 1 comment · May be fixed by #821

Comments

@joseywoermann
Copy link

joseywoermann commented May 26, 2021

Is this a Command (activated) or Plugin (passive)?
No.

Describe the feature you'd like
If a user runs a command that requires arguments to be passed (like .weather <location>), but does not pass the required argument(s), the bot doesn't respond or give "feedback" that it's missing arguments.

This might make some people think that the command isn't activated or that something went wrong, even if that's not (really) the case.

I think that it would make things easier / less confusing, if the bot would respond with a simple "you are missing some required arguments, check .help <command>"-message.

@joseywoermann joseywoermann changed the title Respond to command calls with invalid arguments Respond to command calls with invalid / missing arguments May 26, 2021
@joseywoermann
Copy link
Author

joseywoermann commented May 27, 2021

Ok, with Slash Commands (#821), missing arguments won't be an issue anymore (The UI enforces them).
But I would leave it open anyways, because nice error messages are always useful. (These could also be ephemeral)

@IanMitchell IanMitchell linked a pull request Aug 9, 2021 that will close this issue
65 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant