Skip to content
This repository has been archived by the owner on Jun 10, 2023. It is now read-only.

无法区分不同的富文本消息 #6

Closed
xtexChooser opened this issue Aug 26, 2021 · 5 comments
Closed

无法区分不同的富文本消息 #6

xtexChooser opened this issue Aug 26, 2021 · 5 comments

Comments

@xtexChooser
Copy link
Owner

Link to Mirai Forum
使用serializeToMiraiCode替代contentToString,并保存MessageChain以在复读时正确发送

@Michael1015198808
Copy link

你也可以试试直接存储MessageChain,我印象里它也重载了==
我的bot被封了,所以没法写代码测试了 🌚

@xtexChooser
Copy link
Owner Author

你也可以试试直接存储MessageChain,我印象里它也重载了==
我的bot被封了,所以没法写代码测试了 🌚

  1. 我知道的
  2. 再注册一个(雾
  3. 反正注册多了可以直接注销之前的

@xtexChooser
Copy link
Owner Author

你也可以试试直接存储MessageChain,我印象里它也重载了==
我的bot被封了,所以没法写代码测试了 🌚

我旧的号还活着,新注册的已经gg了

@xtexChooser
Copy link
Owner Author

你也可以试试直接存储MessageChain,我印象里它也重载了==
我的bot被封了,所以没法写代码测试了 🌚

有什么办法检测消息是不是纯文本消息嘛

@Michael1015198808
Copy link

你也可以试试直接存储MessageChain,我印象里它也重载了==
我的bot被封了,所以没法写代码测试了 🌚

有什么办法检测消息是不是纯文本消息嘛

检查每个元素是不是都是PlainText

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants