diff options
Diffstat (limited to 'slack/slack_message.py')
-rw-r--r-- | slack/slack_message.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slack/slack_message.py b/slack/slack_message.py index f79cdc2..07b03f4 100644 --- a/slack/slack_message.py +++ b/slack/slack_message.py @@ -55,7 +55,7 @@ class SlackMessage: async def _lookup_item_id(self, item_id: str): if item_id.startswith("#"): - return self.workspace.conversations[removeprefix(item_id, "#")] + return await self.workspace.conversations[removeprefix(item_id, "#")] elif item_id.startswith("@"): return await self.workspace.users[removeprefix(item_id, "@")] elif item_id.startswith("!subteam^"): |