From 4497a82c504818d61ab18c5251ae2bc42bae279e Mon Sep 17 00:00:00 2001 From: ChrisLovering Date: Sat, 23 Nov 2024 18:47:50 +0000 Subject: Deploying to docs from @ python-discord/bot-core@bdaaa2e76d4cb32843754757532ef8d73ac97761 πŸš€ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- v11.1.0/output/pydis_core.utils.checks.html | 42 +++++++++++++++++------------ 1 file changed, 25 insertions(+), 17 deletions(-) (limited to 'v11.1.0/output/pydis_core.utils.checks.html') diff --git a/v11.1.0/output/pydis_core.utils.checks.html b/v11.1.0/output/pydis_core.utils.checks.html index 9fe114e6..f021137a 100644 --- a/v11.1.0/output/pydis_core.utils.checks.html +++ b/v11.1.0/output/pydis_core.utils.checks.html @@ -5,13 +5,13 @@ - + checks - Pydis Core v11.1.0 - + @@ -330,6 +330,14 @@ v9.0.0 +
  • + v11.5.0 +
  • + +
  • + v11.4.0 +
  • +
  • v11.3.1
  • @@ -480,10 +488,10 @@
    Parameters:
      -
    • rate (int) – Number of times a command can be used before triggering a cooldown.

    • -
    • per (float) – The duration (in seconds) for how long the cooldown lasts.

    • +
    • rate (int) – Number of times a command can be used before triggering a cooldown.

    • +
    • per (float) – The duration (in seconds) for how long the cooldown lasts.

    • type (discord.ext.commands.BucketType) – The type of cooldown (per user, per channel, per guild, etc.).

    • -
    • bypass_roles (Iterable[int]) – An iterable of role IDs that bypass the cooldown.

    • +
    • bypass_roles (Iterable[int]) – An iterable of role IDs that bypass the cooldown.

    Returns:
    @@ -493,7 +501,7 @@

    Callable

    Raises:
    -

    TypeError – If the decorator is not applied to an instance of Command.

    +

    TypeError – If the decorator is not applied to an instance of Command.

    @@ -507,14 +515,14 @@
    Parameters:
    Returns:

    True if the context’s author has at least one of the specified roles; False otherwise.

    Return type:
    -

    bool

    +

    bool

    @@ -528,14 +536,14 @@
    Parameters:
    Returns:

    True if the context’s author doesn’t have any of the specified roles; False otherwise.

    Return type:
    -

    bool

    +

    bool

    @@ -548,18 +556,18 @@
    Parameters:
    Returns:

    True if the command is used in a whitelisted context; False otherwise.

    Return type:
    -

    bool

    +

    bool

    Raises:

    InWhitelistCheckFailure – If the context is not whitelisted and fail_silently is False.

    @@ -646,7 +654,7 @@ - + -- cgit v1.2.3