diff options
Diffstat (limited to 'slack/globals.py')
-rw-r--r-- | slack/globals.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/slack/globals.py b/slack/globals.py new file mode 100644 index 0000000..30ffbd1 --- /dev/null +++ b/slack/globals.py @@ -0,0 +1,18 @@ +from typing import Any, Dict, Tuple + +from api import SlackWorkspace +from config import SlackConfig +from task import Task + +SCRIPT_NAME = "slack" +SCRIPT_AUTHOR = "Trygve Aaberge <trygveaa@gmail.com>" +SCRIPT_VERSION = "3.0.0" +SCRIPT_LICENSE = "MIT" +SCRIPT_DESC = "Extends weechat for typing notification/search/etc on slack.com" +REPO_URL = "https://github.com/wee-slack/wee-slack" + +weechat_version: int +active_tasks: Dict[str, Task[Any]] = {} +active_responses: Dict[str, Tuple[Any, ...]] = {} +workspaces: Dict[str, SlackWorkspace] = {} +config: SlackConfig |