aboutsummaryrefslogtreecommitdiffstats
path: root/slack/commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'slack/commands.py')
-rw-r--r--slack/commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/slack/commands.py b/slack/commands.py
index 2d7cb09..9dc277d 100644
--- a/slack/commands.py
+++ b/slack/commands.py
@@ -68,7 +68,7 @@ def weechat_command(
Callable[[str, str], None],
]:
def decorator(
- f: Callable[[str, List[str], Dict[str, Optional[str]]], None]
+ f: Callable[[str, List[str], Dict[str, Optional[str]]], None],
) -> Callable[[str, str], None]:
cmd = removeprefix(f.__name__, "command_").replace("_", " ")
top_level = " " not in cmd