Skip to content

Commit

Permalink
release 1.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
BillYang2016 committed Jan 21, 2021
1 parent 467ce07 commit 4dd28f5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Night bot

当前版本号:1.0.6
当前版本号:1.0.7

## 联系方式
[QQ群 735209171](https://jq.qq.com/?_wv=1027&k=5cV7uEJ)
Expand Down
4 changes: 2 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"ret": 1,
"apiver": 9,
"name": "nightbot",
"version": "1.0.6",
"version_id": 7,
"version": "1.0.7",
"version_id": 8,
"author": "Bill Yang",
"description": "晚安~",
"event": [
Expand Down
2 changes: 2 additions & 0 deletions src/response.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ bool Response(const int &eventtype,const GroupMessageEvent &event) {

msg=replace_all_distinct(msg,"${at}",MessageSegment::at(event.user_id));
send_group_message(event.group_id,msg);
return true;
}
int hours=(int)difsecs/3600;
int minutes=((int)difsecs-hours*3600)/60;
Expand Down Expand Up @@ -397,6 +398,7 @@ bool Response(const int &eventtype,const GroupMessageEvent &event) {

msg=replace_all_distinct(msg,"${at}",MessageSegment::at(event.user_id));
send_group_message(event.group_id,msg);
return true;
}

int hours=(int)difsecs/3600;
Expand Down

0 comments on commit 4dd28f5

Please sign in to comment.