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
val bot = Bot(10000, "pw").alsoLogin() val message = bot.getFriend(10000).sendMessage(PlainText("=======")) println(message.sourceId) bot.subscribeAlways<FriendMessage> { val quoteReply = it.message.firstIsInstanceOrNull<QuoteReply>() if (quoteReply != null) { println(quoteReply.originalMessage.contentToString()) println(quoteReply.originalMessage.id) println(quoteReply.id) } } bot.join()
由于某些需要使用 Google Guava Cache 存了消息的 id 以便下次引用的时候取出 在收到消息后取出的消息 id 和之前完全不同 多次引用同一消息打印的 id 相同
换句话说 就是发送出去的消息和引用拿到的消息id不同
The text was updated successfully, but these errors were encountered:
4a217d8
No branches or pull requests
问题
由于某些需要使用 Google Guava Cache 存了消息的 id 以便下次引用的时候取出
在收到消息后取出的消息 id 和之前完全不同
多次引用同一消息打印的 id 相同
换句话说 就是发送出去的消息和引用拿到的消息id不同
附打印输出
The text was updated successfully, but these errors were encountered: