-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Pre-run condition checks on commands #1
Comments
Alternatively, just pass commands a |
Or just allow |
I'll actually just implement this as a function you pass that does this. The function will be able to return a boolean or a promise for one, and that boolean will determine whether or not the command is executed. |
Because screw everything I already said about it. If it were gonna be a function you might as well just include it in the main function process; providing an object of options makes more sense to me. Further thoughts will be in #12. |
fixed with #12 |
Allow commands to set permissions that are required to execute the command. This could be done by a list of flags or a function which returns true or false based on the message that contains the command.
The text was updated successfully, but these errors were encountered: