Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
我本来是想 Message.replace("[%@QQ%]",new At(event.getUser().getId()).contentToString() ); 替换来实现自定义变量文本的,我没看懂他@的原理,就盲写,希望有人帮忙解答
https://github.com/mamoe/mirai/blob/dev/mirai-core-api/src/commonMain/kotlin/message/data/Message.kt https://github.com/mamoe/mirai/blob/dev/mirai-core-api/src/commonMain/kotlin/message/data/At.kt
谢谢