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 the ability to use aliases without requiring a name in @Execute #402

Open
RyanTheTechMan opened this issue Jun 8, 2024 · 0 comments
Labels
feature hacktoberfest This year we’re celebrating 11 years of open source love! https://hacktoberfest.com/

Comments

@RyanTheTechMan
Copy link

This would only affect @Execute as you need a base command to add arguments to.

Currently in v3.4.2 if an alias is set without the name parameter, then aliases are not used. This is not expected behavior.

Wanted:

@Execute(aliases = {"info"})

This would allow the player to run /example or /example info

The current work around is to create two separate functions, one with a name parameter and one without.

@Rollczi Rollczi added the feature label Jul 9, 2024
@Rollczi Rollczi added the hacktoberfest This year we’re celebrating 11 years of open source love! https://hacktoberfest.com/ label Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature hacktoberfest This year we’re celebrating 11 years of open source love! https://hacktoberfest.com/
Projects
Status: Todo
Development

No branches or pull requests

2 participants