Skip to content

Pre-defined Checks #96

Description

@PenguinBoi12

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions