diff --git a/robot-data/cache/account.secrets b/robot-data/cache/account.secrets index a7fbb38..79e9cc1 100644 Binary files a/robot-data/cache/account.secrets and b/robot-data/cache/account.secrets differ diff --git a/robot-data/cache/servers.json b/robot-data/cache/servers.json index 0bb7eb3..6430585 100644 --- a/robot-data/cache/servers.json +++ b/robot-data/cache/servers.json @@ -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 } ] \ No newline at end of file diff --git a/src/main/java/com/mtz/qqbot/Controller/LIstenerController.java b/src/main/java/com/mtz/qqbot/Controller/LIstenerController.java new file mode 100644 index 0000000..061adbd --- /dev/null +++ b/src/main/java/com/mtz/qqbot/Controller/LIstenerController.java @@ -0,0 +1,4 @@ +package com.mtz.qqbot.Controller; + +public class LIstenerController { +} diff --git a/src/main/java/com/mtz/qqbot/Controller/testController.java b/src/main/java/com/mtz/qqbot/Controller/testController.java index b7c74e6..5ad0340 100644 --- a/src/main/java/com/mtz/qqbot/Controller/testController.java +++ b/src/main/java/com/mtz/qqbot/Controller/testController.java @@ -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"; } + } diff --git a/src/main/java/com/mtz/qqbot/Listener/RecallMessageListener.java b/src/main/java/com/mtz/qqbot/Listener/RecallMessageListener.java index 74dc0c2..cd7d0d3 100644 --- a/src/main/java/com/mtz/qqbot/Listener/RecallMessageListener.java +++ b/src/main/java/com/mtz/qqbot/Listener/RecallMessageListener.java @@ -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()); + } } diff --git a/src/main/resources/static/image/接收1.jpg b/src/main/resources/static/image/接收1.jpg new file mode 100644 index 0000000..13e5e5d Binary files /dev/null and b/src/main/resources/static/image/接收1.jpg differ diff --git a/src/main/resources/static/image/接收2.jpg b/src/main/resources/static/image/接收2.jpg new file mode 100644 index 0000000..4d32d5c Binary files /dev/null and b/src/main/resources/static/image/接收2.jpg differ diff --git a/src/main/resources/static/image/接收3.jpg b/src/main/resources/static/image/接收3.jpg new file mode 100644 index 0000000..e623be8 Binary files /dev/null and b/src/main/resources/static/image/接收3.jpg differ diff --git a/src/main/resources/static/image/接收4.png b/src/main/resources/static/image/接收4.png new file mode 100644 index 0000000..9244222 Binary files /dev/null and b/src/main/resources/static/image/接收4.png differ diff --git a/src/main/resources/static/index.html b/src/main/resources/static/index.html index efd8a1f..92d8f17 100644 --- a/src/main/resources/static/index.html +++ b/src/main/resources/static/index.html @@ -107,7 +107,10 @@ #05 接收消息
- + + + +

在群聊中或者与机器人进行私聊,控制台便可以接收到信息