This commit is contained in:
Diamond 2024-06-24 21:48:34 +08:00
parent 746b354ffb
commit 4dfed1b66c
10 changed files with 40 additions and 31 deletions

Binary file not shown.

View File

@ -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",
"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
},
{
@ -8,35 +36,7 @@
"port": 443
},
{
"host": "117.62.243.221",
"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",
"host": "42.81.192.158",
"port": 8080
}
]

View File

@ -0,0 +1,4 @@
package com.mtz.qqbot.Controller;
public class LIstenerController {
}

View File

@ -1,6 +1,7 @@
package com.mtz.qqbot.Controller;
import com.mtz.qqbot.Listener.HandleMessageListener;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@ -14,4 +15,5 @@ public class testController {
"今日群聊2消息[" + HandleMessageListener.group2MessageCount + "]条\n" +
"今日收到的群聊临时会话消息:[" + HandleMessageListener.groupTempMessageCount + "]条\n";
}
}

View File

@ -6,7 +6,6 @@ import net.itbaima.robot.listener.MessageListener;
import net.mamoe.mirai.event.events.GroupMessageEvent;
import java.util.List;
@RobotListener
public class RecallMessageListener extends MessageListener {
public static int group1InvalidCount = 0;
@ -22,6 +21,7 @@ public class RecallMessageListener extends MessageListener {
event.getSender().mute(60);
Thread.sleep(500);//防止操作太快被腾讯封禁
this.recallMessage(event.getMessage());
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 559 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 328 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

View File

@ -107,7 +107,10 @@
<span>#05 接收消息</span>
<div class="内容">
<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>