Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
Fix regex for URL formatting in Slack channel
Aleksander W. Oleszkiewicz (Alek)fe0341da5ba8
diff --git a/nanobot/channels/slack.py b/nanobot/channels/slack.pyindex ef78887fe..25af83be1 100644--- a/nanobot/channels/slack.py+++ b/nanobot/channels/slack.py@@ -233,7 +233,7 @@ class SlackChannel(BaseChannel):# Convert URL formatting# Step 6: [text](URL) -> <URL|text>converted_text = re.sub(- r"(^|[^!])\[(.+?)\]\((http.+?)\)", r"\1<\3|\2>", converted_text)+ r"(?m)(^|[^!])\[(.+?)\]\((http.+?)\)", r"\1<\3|\2>", converted_text)# Convert image URL# Step 6:  -> <URL>converted_text = re.sub(