-e MESSAGE_POST_FORMAT="string" 使用cq码字符串上报消息

This commit is contained in:
Sparkle 2024-04-23 17:47:13 +08:00 committed by GitHub
parent b1b6709d3f
commit 421f04bc91
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -91,6 +91,10 @@ if [ ! -f "$CONFIG_PATH" ]; then
else
sed -i "s/RSM_ENABLE/false/" $CONFIG_PATH
fi
if [ "$MESSAGE_POST_FORMAT" ]; then
sed -i "s/\"messagePostFormat\": \"array\"/\"messagePostFormat\": \"$MESSAGE_POST_FORMAT\"/" $CONFIG_PATH
fi
fi
export FFMPEG_PATH=/usr/bin/ffmpeg