diff options
author | 2022-06-21 15:16:12 +0200 | |
---|---|---|
committer | 2022-06-21 17:59:14 +0200 | |
commit | 4d92e185f8e862642a70cc15cbca2eb6d442a767 (patch) | |
tree | 7209f704ec11ad5b82520f593423512ba033b71d /botcore | |
parent | reword docstrings (diff) |
Add comment for skipped arguments
Diffstat (limited to 'botcore')
-rw-r--r-- | botcore/utils/cooldown.py | 2 |
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 |