From bf7bd2ae2b907ef8c1a0b47af34d9a554bc1be43 Mon Sep 17 00:00:00 2001 From: ChrisLovering Date: Tue, 30 Jan 2024 21:29:57 +0000 Subject: Deploying to docs from @ python-discord/bot-core@c7b614025e9c3faf3b16bb019f28979e7ce74b26 🚀 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/output/pydis_core.utils.cooldown.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'main/output/pydis_core.utils.cooldown.html') diff --git a/main/output/pydis_core.utils.cooldown.html b/main/output/pydis_core.utils.cooldown.html index ae0b62fb..4b90ce81 100644 --- a/main/output/pydis_core.utils.cooldown.html +++ b/main/output/pydis_core.utils.cooldown.html @@ -5,14 +5,14 @@ - + cooldown - Pydis Core Latest (10.6.0) - + @@ -450,17 +450,17 @@

Helpers for setting a cooldown on commands.

-exception CommandOnCooldown(message, function, /, *args, **kwargs)[source]#
+exception CommandOnCooldown(message, function, /, *args, **kwargs)[source]#

Bases: CommandError, Generic[P, R]

Raised when a command is invoked while on cooldown.

-__init__(message, function, /, *args, **kwargs)[source]#
+__init__(message, function, /, *args, **kwargs)[source]#
-async call_without_cooldown()[source]#
+async call_without_cooldown()[source]#

Run the command this cooldown blocked.

Return type:
@@ -476,20 +476,20 @@
-P = ~P[source]#
+P = ~P[source]#

The command’s signature.

-class R[source]#
+class R[source]#

The command’s return value.

alias of TypeVar(‘R’)

-block_duplicate_invocations(*, cooldown_duration=5, send_notice=False, args_preprocessor=None)[source]#
+block_duplicate_invocations(*, cooldown_duration=5, send_notice=False, args_preprocessor=None)[source]#

Prevent duplicate invocations of a command with the same arguments in a channel for cooldown_duration seconds.

Parameters:
-- cgit v1.2.3