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

Feature: Return alias in incorrectUsage error #109

Open
fjeddy opened this issue Apr 4, 2020 · 1 comment
Open

Feature: Return alias in incorrectUsage error #109

fjeddy opened this issue Apr 4, 2020 · 1 comment
Assignees
Labels

Comments

@fjeddy
Copy link
Contributor

fjeddy commented Apr 4, 2020

When a user is using a BungeeChat command incorrectly with an alias, then the helper text return uses the original command / alias instead of the one the player used. It should not.

The command /ignore has the alias /i, if a player uses the /i alias and does anything incorrectly, then it will return the original command, like so

&cIncorrect usage! Use this command like this: /ignore .....

but it should instead use the same command / alias that the player used to begin with

&cIncorrect usage! Use this command like this: /i .....

If the player uses /ignore, it shows /ignore in the error, if he uses /i it shows /i, and so on.

@BrainStone BrainStone self-assigned this Apr 4, 2020
@BrainStone
Copy link
Member

BrainStone commented Dec 26, 2020

The biggest issue with that request is that in the execute method I don't know which alias was used!

If someone has a solution for that, let me please know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants