From f790f652d3428404f789822a9bd510ff866d1640 Mon Sep 17 00:00:00 2001 From: Trygve Aaberge Date: Sat, 14 Jan 2023 17:44:25 +0100 Subject: Add some todos --- slack/commands.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'slack/commands.py') diff --git a/slack/commands.py b/slack/commands.py index 44d1d13..cc446d3 100644 --- a/slack/commands.py +++ b/slack/commands.py @@ -254,12 +254,14 @@ def completion_list_add(completion: str, word: str, nick_completion: int, where: if word == "%(slack_workspaces)": completion_slack_workspaces_cb("", "slack_workspaces", "", completion) else: + # TODO: Consider WeeChat verison support, in < 2.9 one must use hook_completion_list_add weechat.completion_list_add(completion, word, nick_completion, where) def completion_slack_workspace_commands_cb( data: str, completion_item: str, buffer: str, completion: str ) -> int: + # TODO: Consider WeeChat verison support, in < 2.9 one must use hook_completion_get_string base_command = weechat.completion_get_string(completion, "base_command") base_word = weechat.completion_get_string(completion, "base_word") args = weechat.completion_get_string(completion, "args") -- cgit