aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--slack/slack_workspace.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/slack/slack_workspace.py b/slack/slack_workspace.py
index 61f86a7..0fab5b2 100644
--- a/slack/slack_workspace.py
+++ b/slack/slack_workspace.py
@@ -212,8 +212,10 @@ class SlackWorkspace:
async def connect(self) -> None:
if self.is_connected:
return
+ weechat.prnt("", f"Connecting to workspace {self.name}")
self._connect_task = create_task(self._connect())
await self._connect_task
+ weechat.prnt("", f"Connected to workspace {self.name}")
self._connect_task = None
async def _connect(self) -> None:
@@ -454,6 +456,7 @@ class SlackWorkspace:
def disconnect(self):
self.is_connected = False
+ weechat.prnt("", f"Disconnected from workspace {self.name}")
if self._connect_task:
self._connect_task.cancel()