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

Refactor room/permission checks #1126

Open
solumath opened this issue Sep 9, 2024 · 0 comments
Open

Refactor room/permission checks #1126

solumath opened this issue Sep 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@solumath
Copy link
Collaborator

solumath commented Sep 9, 2024

Refactor room/permission checks to be actual decorators based from checks. Our current solution doesn't provide correct error messages for all types of checks which results in incorrect error message when using commands

e.g.
/gen_teacher_info when used in incorrect room sends @ user, na použití tohoto příkazu nemáš právo.

@solumath solumath added the bug Something isn't working label Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Issues
Development

No branches or pull requests

1 participant