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
style: trim _send_payload docstring
Re-binb853222c8755
diff --git a/nanobot/channels/discord.py b/nanobot/channels/discord.pyindex 5a1cf5c2b..1d2d7a64d 100644--- a/nanobot/channels/discord.py+++ b/nanobot/channels/discord.py@@ -125,10 +125,7 @@ class DiscordChannel(BaseChannel):async def _send_payload(self, url: str, headers: dict[str, str], payload: dict[str, Any]) -> bool:- """Send a single Discord API payload with retry on rate-limit.-- Returns True on success, False if all attempts failed.- """+ """Send a single Discord API payload with retry on rate-limit. Returns True on success."""for attempt in range(3):try:response = await self._http.post(url, headers=headers, json=payload)