diff options
Diffstat (limited to 'slack/shared.py')
-rw-r--r-- | slack/shared.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/slack/shared.py b/slack/shared.py index 600723b..0cf25f4 100644 --- a/slack/shared.py +++ b/slack/shared.py @@ -6,6 +6,7 @@ from typing import TYPE_CHECKING, Callable, Dict, List, Union if TYPE_CHECKING: from slack.config import SlackConfig from slack.error import UncaughtError + from slack.slack_buffer import SlackBuffer from slack.slack_emoji import Emoji from slack.slack_workspace import SlackWorkspace from slack.task import Future, Task @@ -22,6 +23,7 @@ class Shared: self.weechat_callbacks: Dict[str, Callable[..., WeechatCallbackReturnType]] self.active_tasks: Dict[str, List[Task[object]]] = defaultdict(list) self.active_futures: Dict[str, Future[object]] = {} + self.buffers: Dict[str, SlackBuffer] = {} self.workspaces: Dict[str, SlackWorkspace] = {} self.config: SlackConfig self.uncaught_errors: List[UncaughtError] = [] |