fix: add missing Typevar binding in decorators
This commit is contained in:
parent
3391a44206
commit
dcd929c9b8
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ class CommandArgParser:
|
||||||
command_args_parser = CommandArgParser()
|
command_args_parser = CommandArgParser()
|
||||||
|
|
||||||
|
|
||||||
def deny_anonymous(func: Callable) -> Callable:
|
def deny_anonymous(func: T) -> T:
|
||||||
"""Decorator to disable commands when using an anonymous account."""
|
"""Decorator to disable commands when using an anonymous account."""
|
||||||
|
|
||||||
def before(args: Any, kwargs: Any) -> Any:
|
def before(args: Any, kwargs: Any) -> Any:
|
||||||
|
|
Loading…
Reference in a new issue