mirror of
https://github.com/wahyd4/home-docker.git
synced 2026-08-08 20:15:03 +10:00
fix: add DISCORD_ALLOW_BOTS=all to curio-agent so it can see 小黑's messages
This commit is contained in:
@@ -126,6 +126,12 @@ data:
|
||||
platform_toolsets:
|
||||
discord:
|
||||
- web
|
||||
- browser
|
||||
- terminal
|
||||
- file
|
||||
- code_execution
|
||||
- vision
|
||||
- image_gen
|
||||
|
||||
discord:
|
||||
require_mention: true
|
||||
@@ -147,7 +153,7 @@ data:
|
||||
enabled: false
|
||||
|
||||
approvals:
|
||||
mode: off
|
||||
mode: smart
|
||||
|
||||
sessions:
|
||||
auto_prune: true
|
||||
@@ -193,6 +199,8 @@ spec:
|
||||
echo "DISCORD_BOT_TOKEN=${DISCORD_BOT_TOKEN}" >> /opt/data/.env
|
||||
# Allow all users (bot is in a private server + require_mention)
|
||||
echo "DISCORD_ALLOW_ALL_USERS=true" >> /opt/data/.env
|
||||
# Allow other bots (so 小黑 can see 来财 and vice versa)
|
||||
echo "DISCORD_ALLOW_BOTS=all" >> /opt/data/.env
|
||||
# Write config.yaml from ConfigMap
|
||||
cp /config/config.yaml /opt/data/config.yaml
|
||||
# Pre-create directories Hermes needs to write to
|
||||
|
||||
Reference in New Issue
Block a user