You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many bots end up implementing common checks: fetch power levels, compare to a threshold, raise a CheckError. There are no built-in check decorators in checks.py beyond cooldown.
The idea is to ship a set of ready-made check decorators that cover the most common permission patterns and other useful ones.
Seen the sub issues for the checks to implement. If anyone wants to propose one (without necessary working on it), just send it in the comments.
Activity
is_admin#103is_moderator#104has_power_level#105can_invite#106can_redact#107is_room_encrypted#108