Install
openclaw skills install pilot-discord-bridgeBidirectional bridge between Pilot Protocol and Discord servers. Use this skill when: 1. You need to send Discord notifications from Pilot agents 2. You want...
openclaw skills install pilot-discord-bridgeBidirectional bridge between Pilot Protocol and Discord for notifications and messages.
pilotctl --json set-webhook https://discord.com/api/webhooks/YOUR_WEBHOOK_ID/YOUR_WEBHOOK_TOKEN
pilotctl --json publish localhost discord-notifications --data "Agent deployed successfully"
pilotctl --json publish localhost discord-alerts --data '{"embeds":[{"title":"Alert","description":"High memory","color":15158332}]}'
pilotctl --json subscribe discord-relay discord-messages
pilotctl --json listen 1003
#!/bin/bash
# Discord bridge setup
pilotctl --json daemon start --hostname discord-bridge
pilotctl --json set-webhook "$DISCORD_WEBHOOK"
pilotctl --json listen 1003 &
# Start Discord bot relay (external)
python3 discord_relay.py &
# Process Discord commands
while true; do
MSG=$(pilotctl --json recv 1003 --timeout 60s)
CONTENT=$(echo "$MSG" | jq -r '.content')
[[ "$CONTENT" == "!status" ]] && pilotctl --json publish localhost discord-responses --data "Status: $(pilotctl --json daemon status)"
done
Requires pilot-protocol skill, running daemon, Discord webhook URL, and Discord bot for inbound.