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
问题描述
问几个问题以后,貌似回复就失效了,日志看着发送成功了,但是群里收不到回复的消息
![image](https://private-user-images.githubusercontent.com/73157953/317973927-58352fff-8154-4f80-a64a-bbb3723a59d7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1OTU0MTgsIm5iZiI6MTcyNTU5NTExOCwicGF0aCI6Ii83MzE1Nzk1My8zMTc5NzM5MjctNTgzNTJmZmYtODE1NC00ZjgwLWE2NGEtYmJiMzcyM2E1OWQ3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA2VDAzNTgzOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY4ZDgxZGY0NDFjYzkzMDU2MGYxM2E0OTQ4MDNiNTlkMmFmNDIwZGU5NDdkODViZjNhNWZkMDNlMzZlYzFiZWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.hzkdREBV8DgeZR6a1XkHd94sa4vomy8q_d-yyCgP2ZI)
版本: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: