Skip to content

Remove these from commands.Bot #1744

@github-actions

Description

@github-actions

Line: 1197

pycord//discord/bot.py

Lines 1194 to 1204 in 6ab3292

)
# global check registration
# TODO: Remove these from commands.Bot
def check(self, func):
"""A decorator that adds a global check to the bot. A global check is similar to a :func:`.check` that is
applied on a per-command basis except it is run before any command checks have been verified and applies to
every command the bot has.
.. note::

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions