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 a dryrun mode to vote command to enable easier testing #1304

Open
mixels opened this issue Sep 8, 2022 · 1 comment
Open

Add a dryrun mode to vote command to enable easier testing #1304

mixels opened this issue Sep 8, 2022 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest

Comments

@mixels
Copy link
Contributor

mixels commented Sep 8, 2022

Creating custom voting rewards is a bit of a challenge. To make sure everything is set up right, it would be nice to be able to test the /vote command. I suggest adding a /testvote command which does the same thing as the /vote command but without the vote claimed and has voted checks.

@niekcandaele niekcandaele added enhancement New feature or request good first issue Good for newcomers hacktoberfest labels Sep 8, 2022
@niekcandaele
Copy link
Member

This is a good idea! Instead of copying the command though, I would add an optional argument to the existing command. Something like $vote dryrun.

I think this will need some sort of permission check too, we don't want regular players to be able to trigger the reward without setting the vote as claimed.

@niekcandaele niekcandaele changed the title Please consider adding a test vote rewards feature Add a dryrun mode to vote command to enable easier testing Sep 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants