running version 2026.4.21 (f788c88)
I am trying to run a cron job via a specific agent. The job has been failing since updating around version 2026.4.15, and seems to be having trouble finding the discord token. I actually have a separate token for this agent, not clear where I need to configure it, or why it's no longer able to see the DISCORD_BOT_TOKEN that in the .openclaw/.env file. the bot specific token is also defined in env.
when I kick off the job, I see this error in the logs:
10:47:48-04:00 error gateway {"subsystem":"gateway"} request handler failed: Error: channels.discord.token: *** SecretRef "env:default:DISCORD_BOT_TOKEN". Resolve this command against an active gateway runtime snapshot before reading it.
10:47:48-04:00 info gateway/ws {"subsystem":"gateway/ws"} ⇄ res ✗ cron.list 297ms errorCode=UNAVAILABLE errorMessage=Error: channels.discord.token: *** SecretRef "env:default:DISCORD_BOT_TOKEN". Resolve this command against an active gateway runtime snapshot before reading it. conn=b814d9ad…1f6e id=0f003db9…ed1f
10:47:48-04:00 info gateway/ws {"subsystem":"gateway/ws"} ⇄ res ✓ logs.tail 273ms conn=1ad694b7…ff71 id=36fa7251…12dc
the main agent resolves the token just fine.
does the agent have it's own .env file, or should it be able to see the environment variables defined in .openclaw/.env?