aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--botcore/utils/cooldown.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/botcore/utils/cooldown.py b/botcore/utils/cooldown.py
index 9e79e48a..b5641063 100644
--- a/botcore/utils/cooldown.py
+++ b/botcore/utils/cooldown.py
@@ -165,7 +165,7 @@ def block_duplicate_invocations(
@command_wraps(func)
async def wrapper(*args: P.args, **kwargs: P.kwargs) -> R:
- arg_tuple = (*args[2:], *kwargs.items())
+ arg_tuple = (*args[2:], *kwargs.items()) # skip self and ctx from the command
ctx = typing.cast("Context[BotBase]", args[1])
channel = ctx.channel