aboutsummaryrefslogtreecommitdiffstats
path: root/slack/register.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2024-02-19 19:06:25 +0100
committerTrygve Aaberge <trygveaa@gmail.com>2024-02-20 13:21:31 +0100
commit6e7ca7290d4a59398438e14623d9e71db7c7508d (patch)
treec791342ed3589cccc3f03500e06c8d312bf3c5f8 /slack/register.py
parentb10a3afb80b3477d9df91357b90bb949ac168f52 (diff)
downloadwee-slack-6e7ca7290d4a59398438e14623d9e71db7c7508d.tar.gz
Move completion code to a separate file
Diffstat (limited to 'slack/register.py')
-rw-r--r--slack/register.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/slack/register.py b/slack/register.py
index d8ab7e3..aaf3c27 100644
--- a/slack/register.py
+++ b/slack/register.py
@@ -3,6 +3,7 @@ from __future__ import annotations
import weechat
from slack.commands import register_commands
+from slack.completions import register_completions
from slack.config import SlackConfig
from slack.shared import shared
from slack.slack_emoji import load_standard_emojis
@@ -126,6 +127,7 @@ def register():
shared.workspaces = {}
shared.config = SlackConfig()
shared.config.config_read()
+ register_completions()
register_commands()
weechat.hook_signal(