Skip to content

Commit

Permalink
Fix typo in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
tandemdude committed May 3, 2023
1 parent c7ba62f commit 6baffd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightbulb/decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ def add_cooldown(
to :obj:`~.cooldown_algorithms.BangBangCooldownAlgorithm`.
Keyword Args:
callback (Callable[[:obj:`~.context.base.Context], Union[:obj:`~.buckets.Bucket`, Coroutine[Any, Any, :obj:`~.buckets.Bucket`]]]): Callable
callback (Callable[[:obj:`~.context.base.Context`], Union[:obj:`~.buckets.Bucket`, Coroutine[Any, Any, :obj:`~.buckets.Bucket`]]]): Callable
that takes the context the command was invoked under and returns the appropriate bucket object to use for
cooldowns in the context.
cls (Type[:obj:`~.cooldowns.CooldownManager`]): The cooldown manager class to use. Defaults to
Expand Down

0 comments on commit 6baffd2

Please sign in to comment.