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

Extend chat command auth #20

Open
Nocturnal42 opened this issue Dec 2, 2018 · 0 comments
Open

Extend chat command auth #20

Nocturnal42 opened this issue Dec 2, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@Nocturnal42
Copy link
Collaborator

Nocturnal42 commented Dec 2, 2018

Update the auth functions to include differentiation between local mods and global mods. Add singular auth functions like is_owner() is_global_mod() is_local_mod() for cases where differentiation based on a returned int value is not ideal.

Add a "whitelist" auth level. This should be fairly simple, since it will use almost identical code to the mod list, but with a few extra chat commands to add / remove people from the whitelist. Might want to also look at dumping / loading the whitelist from a file to make it persistent.

Related to #16

@bwookieeeee bwookieeeee added the enhancement New feature or request label Dec 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants