Code-Society-Lab / Code-Society-Lab/matrixpy

Pre-defined Checks

Open
#96 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.