Update description
This commit is contained in:
parent
836694df48
commit
e3a8debb61
@ -53,13 +53,13 @@ s:
|
||||
回复使用时,可以指定emoji,不指定则使用默认emoji
|
||||
|
||||
trace:
|
||||
format: -trace <emoji>
|
||||
usage: 回复一条消息,当目标消息的主人发消息时,自动丢<emoji>。默认:💩
|
||||
format: -trace <emoji|clear|list>
|
||||
usage: 回复一条消息,当目标消息的主人发消息时,自动丢<emoji>,默认:💩。直接使用,清除所有trace目标(或展示trace名单)
|
||||
|
||||
cc:
|
||||
format: -cc <数量> or -cc <emoji>
|
||||
format: -cc <数量> or -cc <emoji|set>
|
||||
usage: 回复使用:遍历该消息的主人发过的消息并丢<数量>个<emoji>给Ta;直接使用:
|
||||
指令<emoji>为默认emoji。数量范围:1 ~ 233,Emoji默认为:💩
|
||||
指令<emoji>为默认emoji,若参数为set,则设置随机emoji。数量范围:1 ~ 233,Emoji默认为:💩
|
||||
|
||||
cal:
|
||||
format: -cal <四则运算式>
|
||||
|
11
install.sh
11
install.sh
@ -77,11 +77,16 @@ fi
|
||||
}
|
||||
|
||||
stop_sycgram(){
|
||||
docker stop $(docker ps -a | grep ${GITHUB_IMAGE_NAME} | awk '{print $1}')
|
||||
res=$(docker stop $(docker ps -a | grep ${GITHUB_IMAGE_NAME} | awk '{print $1}'))
|
||||
if [[ $res ]];then
|
||||
echo -e "${yellow}已停止sycgram...${plain}"
|
||||
else
|
||||
echo -e "${red}无法停止sycgram...${plain}"
|
||||
fi
|
||||
}
|
||||
|
||||
view_docker_log(){
|
||||
docker logs -f $(docker ps -a | grep sycgram | awk '{print $1}')
|
||||
docker logs -f $(docker ps -a | grep ${GITHUB_IMAGE_NAME} | awk '{print $1}')
|
||||
}
|
||||
|
||||
uninstall_sycgram(){
|
||||
@ -100,7 +105,7 @@ install_sycgram(){
|
||||
delete_old_image_and_container;
|
||||
|
||||
echo -e "正在拉取镜像..."
|
||||
docker pull ghcr.io/iwumingz/sycgram:latest
|
||||
docker pull ${GITHUB_IMAGE_PATH}:latest
|
||||
|
||||
echo -e "正在启动容器..."
|
||||
docker run $1 \
|
||||
|
Loading…
Reference in New Issue
Block a user