Spaces:
Sleeping
Sleeping
Hugging Face Deploy commited on
Commit ·
215b453
1
Parent(s): bb7ec5e
Fix Clawdbot config schema for Telegram
Browse files- entrypoint.sh +6 -4
entrypoint.sh
CHANGED
|
@@ -18,13 +18,15 @@ fi
|
|
| 18 |
|
| 19 |
cat >"$CONFIG_PATH" <<EOF
|
| 20 |
{
|
| 21 |
-
"commands": {
|
| 22 |
-
"native": "off"
|
| 23 |
-
},
|
| 24 |
"channels": {
|
| 25 |
"telegram": {
|
| 26 |
"enabled": $TELEGRAM_ENABLED,
|
| 27 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
}
|
| 29 |
},
|
| 30 |
"gateway": {
|
|
|
|
| 18 |
|
| 19 |
cat >"$CONFIG_PATH" <<EOF
|
| 20 |
{
|
|
|
|
|
|
|
|
|
|
| 21 |
"channels": {
|
| 22 |
"telegram": {
|
| 23 |
"enabled": $TELEGRAM_ENABLED,
|
| 24 |
+
"botToken": "${TELEGRAM_BOT_TOKEN:-}",
|
| 25 |
+
"dmPolicy": "pairing",
|
| 26 |
+
"commands": {
|
| 27 |
+
"native": false,
|
| 28 |
+
"nativeSkills": false
|
| 29 |
+
}
|
| 30 |
}
|
| 31 |
},
|
| 32 |
"gateway": {
|