Commit dcd929c9 authored by mathieui's avatar mathieui

fix: add missing Typevar binding in decorators

parent 3391a442
......@@ -209,7 +209,7 @@ class 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."""
def before(args: Any, kwargs: Any) -> Any:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment