aboutsummaryrefslogtreecommitdiffstats
path: root/slack/slack_conversation.py
diff options
context:
space:
mode:
Diffstat (limited to 'slack/slack_conversation.py')
-rw-r--r--slack/slack_conversation.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/slack/slack_conversation.py b/slack/slack_conversation.py
index 6e9aa50..ddc2054 100644
--- a/slack/slack_conversation.py
+++ b/slack/slack_conversation.py
@@ -327,6 +327,9 @@ class SlackConversation:
sender_user_ids = [m.sender_user_id for m in messages if m.sender_user_id]
self.workspace.users.initialize_items(sender_user_ids)
+ sender_bot_ids = [m.sender_bot_id for m in messages if m.sender_bot_id]
+ self.workspace.bots.initialize_items(sender_bot_ids)
+
await gather(*(message.render() for message in messages))
for message in reversed(messages):