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

Add range to integer variables #18

Open
eiyaxz opened this issue Sep 12, 2023 · 0 comments
Open

Add range to integer variables #18

eiyaxz opened this issue Sep 12, 2023 · 0 comments

Comments

@eiyaxz
Copy link

eiyaxz commented Sep 12, 2023

For example:

public void addPoints(SlashCommandInteractionEvent event, User user, @Range(1, 1000) int amount) {
    // Gibberish
}

would allow you to add, starting from 1 and going up to 1000, points.

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

No branches or pull requests

1 participant