Replies: 1 comment
-
尝试发送私聊、发送简单文字(例如 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
涉及的编程语言
Java
涉及的组件库
mirai (QQ)
疑问描述
群发消息 收不到 没报错
for (BotManager<?> botManager : application.getBotManagers()) {
if (botManager instanceof MiraiBotManager) {
Items group = botManager.all().get(0).getGroups();
List list = group.collectToList();
if (!list.isEmpty()) {
for (Group item : list) {
String message = groupMessageService.getMessage(10);
item.sendBlocking(message);
}
}
}
}
一开始还好的了 跑了大概30分钟 也不报错 就是收不到消息了
Beta Was this translation helpful? Give feedback.
All reactions