mirror of
https://github.com/wahyd4/home-docker.git
synced 2026-08-09 04:15:52 +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:
|
platform_toolsets:
|
||||||
discord:
|
discord:
|
||||||
- web
|
- web
|
||||||
|
- browser
|
||||||
|
- terminal
|
||||||
|
- file
|
||||||
|
- code_execution
|
||||||
|
- vision
|
||||||
|
- image_gen
|
||||||
|
|
||||||
discord:
|
discord:
|
||||||
require_mention: true
|
require_mention: true
|
||||||
@@ -147,7 +153,7 @@ data:
|
|||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
approvals:
|
approvals:
|
||||||
mode: off
|
mode: smart
|
||||||
|
|
||||||
sessions:
|
sessions:
|
||||||
auto_prune: true
|
auto_prune: true
|
||||||
@@ -193,6 +199,8 @@ spec:
|
|||||||
echo "DISCORD_BOT_TOKEN=${DISCORD_BOT_TOKEN}" >> /opt/data/.env
|
echo "DISCORD_BOT_TOKEN=${DISCORD_BOT_TOKEN}" >> /opt/data/.env
|
||||||
# Allow all users (bot is in a private server + require_mention)
|
# Allow all users (bot is in a private server + require_mention)
|
||||||
echo "DISCORD_ALLOW_ALL_USERS=true" >> /opt/data/.env
|
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
|
# Write config.yaml from ConfigMap
|
||||||
cp /config/config.yaml /opt/data/config.yaml
|
cp /config/config.yaml /opt/data/config.yaml
|
||||||
# Pre-create directories Hermes needs to write to
|
# Pre-create directories Hermes needs to write to
|
||||||
|
|||||||
Reference in New Issue
Block a user