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 .roll to roll an arbitrary die #571

Open
EmberHeartshine opened this issue Apr 1, 2024 · 2 comments
Open

Allow .roll to roll an arbitrary die #571

EmberHeartshine opened this issue Apr 1, 2024 · 2 comments

Comments

@EmberHeartshine
Copy link

At the moment .roll only rolls 1d100 for Best Pony purposes. I propose an optional argument of ndy, where n is the number of dice to be rolled and y is the number of faces on the die. Adding the argument will not trip Best Pony detection at all (nor be tracked for Best Pony purposes), unless it is exactly 1d100.

@CloudburstSys
Copy link
Collaborator

Thinking of working on Izzy again, this seems like a good "first after not working on the bot for a while" feature request.

Should a basic amount of math be implemented? Such as 1d6+3 (where a 1d6 is rolled, then 3 is added to the result) or should we stick strictly to ndy?

@EmberHeartshine
Copy link
Author

If it's simple to add, sure. Otherwise I wouldn't bother. (eg. more complex rolls involving multiple dice etc is not necessary)

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

2 participants