Code-Society-Lab / Code-Society-Lab/matrixpy
Pre-defined Checks
Open
feature
good first issue
- Dominant language
- Python
- Stars
- 14
- Forks
- 7
- Avg merge
- 8d 19h
- Merged PRs (30d)
- 5
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.