mirror of
https://github.com/NapNeko/NapCat-Docker.git
synced 2025-12-19 06:30:12 +08:00
-e MESSAGE_POST_FORMAT="string" 使用cq码字符串上报消息
This commit is contained in:
parent
b1b6709d3f
commit
421f04bc91
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user