We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
问几个问题以后,貌似回复就失效了,日志看着发送成功了,但是群里收不到回复的消息 版本:2.16.0 登录方式:扫码 平台:ANDROID_WATCH 心跳策略:HeartbeatStrategy.REGISTER
private static void sendMessage(GroupMessageEvent event) { MessageChain message = event.getMessage(); String receiveMsg = message.contentToString(); if(!receiveMsg.startsWith("bot") && !receiveMsg.startsWith("@" + Test.QQ)) { return; } MessageChain chain = new MessageChainBuilder() .append(new At(event.getSender().getId())) // at 发送者 .append(new PlainText(" Bot思考中...")) // 回复的消息 .build(); event.getGroup().sendMessage(chain); }
2.16.0
ANDROID_WATCH
No response
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
ANDROID_WATCH 协议是这样的,每天只能回复一段时间的群聊消息
手表协议扫码登录的老毛病了,建议换ANDROID_PAD协议并用签名
大佬 有教程吗
No branches or pull requests
问题描述
问几个问题以后,貌似回复就失效了,日志看着发送成功了,但是群里收不到回复的消息
版本:2.16.0
登录方式:扫码
平台:ANDROID_WATCH
心跳策略:HeartbeatStrategy.REGISTER
复现
private static void sendMessage(GroupMessageEvent event) {
MessageChain message = event.getMessage();
String receiveMsg = message.contentToString();
if(!receiveMsg.startsWith("bot") && !receiveMsg.startsWith("@" + Test.QQ)) {
return;
}
MessageChain chain = new MessageChainBuilder()
.append(new At(event.getSender().getId())) // at 发送者
.append(new PlainText(" Bot思考中...")) // 回复的消息
.build();
event.getGroup().sendMessage(chain);
}
mirai-core 版本
2.16.0
bot-protocol
ANDROID_WATCH
其他组件版本
No response
系统日志
No response
网络日志
No response
补充信息
No response
The text was updated successfully, but these errors were encountered: