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

Fix unhandle handlers and check target user permissions #110

Merged

Conversation

Desiders
Copy link
Collaborator

Add new filter to check target user permissions. Invert this filter and sets it for moderator commands allows you to fix #99.

Add new handlers cmd_ro_no_bot_permissions, cmd_ban_no_bot_permissions that replace common handler that notifies about insufficient bot permissions, which processed unhandled for ro and ban. Using such a handler is very implicit and leads to the fact that it is necessary to invert the newly added filters.

@Desiders Desiders closed this May 10, 2023
@Desiders Desiders reopened this May 10, 2023
@Desiders
Copy link
Collaborator Author

Oh, sorry, this branch is created from unmerged branch from PR (#109).

@bomzheg bomzheg merged commit 758f612 into bomzheg:master May 20, 2023
2 checks passed
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

Successfully merging this pull request may close these issues.

remove !w command message from not admins user
2 participants