同步
This commit is contained in:
parent
746b354ffb
commit
4dfed1b66c
BIN
robot-data/cache/account.secrets
vendored
BIN
robot-data/cache/account.secrets
vendored
Binary file not shown.
58
robot-data/cache/servers.json
vendored
58
robot-data/cache/servers.json
vendored
@ -1,6 +1,34 @@
|
|||||||
[
|
[
|
||||||
|
{
|
||||||
|
"host": "49.7.253.58",
|
||||||
|
"port": 443
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"host": "msfwifi.3g.qq.com",
|
||||||
|
"port": 8080
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"host": "49.7.253.65",
|
||||||
|
"port": 80
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"host": "183.2.144.33",
|
"host": "183.2.144.33",
|
||||||
|
"port": 14000
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"host": "183.47.102.193",
|
||||||
|
"port": 8080
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"host": "117.62.242.155",
|
||||||
|
"port": 80
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"host": "121.229.94.199",
|
||||||
|
"port": 8080
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"host": "222.94.109.78",
|
||||||
"port": 8080
|
"port": 8080
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -8,35 +36,7 @@
|
|||||||
"port": 443
|
"port": 443
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"host": "117.62.243.221",
|
"host": "42.81.192.158",
|
||||||
"port": 8080
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"host": "183.47.103.84",
|
|
||||||
"port": 14000
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"host": "49.7.253.58",
|
|
||||||
"port": 443
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"host": "180.109.192.57",
|
|
||||||
"port": 80
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"host": "49.7.253.65",
|
|
||||||
"port": 80
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"host": "42.81.193.250",
|
|
||||||
"port": 8080
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"host": "msfwifi.3g.qq.com",
|
|
||||||
"port": 8080
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"host": "121.229.94.168",
|
|
||||||
"port": 8080
|
"port": 8080
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@ -0,0 +1,4 @@
|
|||||||
|
package com.mtz.qqbot.Controller;
|
||||||
|
|
||||||
|
public class LIstenerController {
|
||||||
|
}
|
||||||
@ -1,6 +1,7 @@
|
|||||||
package com.mtz.qqbot.Controller;
|
package com.mtz.qqbot.Controller;
|
||||||
|
|
||||||
import com.mtz.qqbot.Listener.HandleMessageListener;
|
import com.mtz.qqbot.Listener.HandleMessageListener;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
@ -14,4 +15,5 @@ public class testController {
|
|||||||
"今日群聊2消息:[" + HandleMessageListener.group2MessageCount + "]条\n" +
|
"今日群聊2消息:[" + HandleMessageListener.group2MessageCount + "]条\n" +
|
||||||
"今日收到的群聊临时会话消息:[" + HandleMessageListener.groupTempMessageCount + "]条\n";
|
"今日收到的群聊临时会话消息:[" + HandleMessageListener.groupTempMessageCount + "]条\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,7 +6,6 @@ import net.itbaima.robot.listener.MessageListener;
|
|||||||
import net.mamoe.mirai.event.events.GroupMessageEvent;
|
import net.mamoe.mirai.event.events.GroupMessageEvent;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@RobotListener
|
@RobotListener
|
||||||
public class RecallMessageListener extends MessageListener {
|
public class RecallMessageListener extends MessageListener {
|
||||||
public static int group1InvalidCount = 0;
|
public static int group1InvalidCount = 0;
|
||||||
@ -22,6 +21,7 @@ public class RecallMessageListener extends MessageListener {
|
|||||||
event.getSender().mute(60);
|
event.getSender().mute(60);
|
||||||
Thread.sleep(500);//防止操作太快被腾讯封禁
|
Thread.sleep(500);//防止操作太快被腾讯封禁
|
||||||
this.recallMessage(event.getMessage());
|
this.recallMessage(event.getMessage());
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
BIN
src/main/resources/static/image/接收1.jpg
Normal file
BIN
src/main/resources/static/image/接收1.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 559 KiB |
BIN
src/main/resources/static/image/接收2.jpg
Normal file
BIN
src/main/resources/static/image/接收2.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 328 KiB |
BIN
src/main/resources/static/image/接收3.jpg
Normal file
BIN
src/main/resources/static/image/接收3.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 116 KiB |
BIN
src/main/resources/static/image/接收4.png
Normal file
BIN
src/main/resources/static/image/接收4.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 48 KiB |
@ -107,7 +107,10 @@
|
|||||||
<span>#05 接收消息</span>
|
<span>#05 接收消息</span>
|
||||||
<div class="内容">
|
<div class="内容">
|
||||||
<img src="">
|
<img src="">
|
||||||
<img src="image">
|
<img src="image/接收1.jpg">
|
||||||
|
<img src="image/接收2.jpg">
|
||||||
|
<img src="image/接收3.jpg">
|
||||||
|
<img src="image/接收4.png">
|
||||||
|
|
||||||
|
|
||||||
<p>在群聊中或者与机器人进行私聊,控制台便可以接收到信息</p>
|
<p>在群聊中或者与机器人进行私聊,控制台便可以接收到信息</p>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user