diff --git a/qqBot/likeeveryday.py b/qqBot/likeeveryday.py index 1f1c3cd..f7c48fe 100644 --- a/qqBot/likeeveryday.py +++ b/qqBot/likeeveryday.py @@ -1,5 +1,6 @@ import requests import sys +import random port = sys.argv[1] # 请求 URL url = f"http://127.0.0.1:{port}" diff --git a/qqBot/startd.sh b/qqBot/startd.sh index 719a7e4..381da3a 100755 --- a/qqBot/startd.sh +++ b/qqBot/startd.sh @@ -98,7 +98,6 @@ while true; do source ./venv/bin/activate # 运行 Python 脚本 for qqid in "${runidlist[@]}"; do - echo "Like everyone with ID: $qqid" getinfo $qqid python3 ./qqBot/likeeveryday.py $port