Comments (5)
sendGroupMessage方法里面有quote参数,只需要像这样
await app.sendGroupMessage(MessageChain, quote = message.get(Source)[0])
from application.
可以,用我的扩展库 graiax-nem
,https://nem.xiaojin233.cn/,里面唯一的示例正好实现了这个功能
当然我也会经常更新,不过由于学业原因可能不能经常更新。如果你在使用中发现了 bug,请在 https://github.com/jinzhijie/graiax-nem 汇报
from application.
可以,用我的扩展库
graiax-nem
,https://nem.xiaojin233.cn/,里面唯一的示例正好实现了这个功能当然我也会经常更新,不过由于学业原因可能不能经常更新。如果你在使用中发现了 bug,请在 https://github.com/jinzhijie/graiax-nem 汇报
注意你的行为: 在我看来, graiax-nem
还不够好, 虽然给出了非常大胆而直截了当的解决方案, 但在解决其他人问题时, 请优先介绍官方方案.
from application.
sendGroupMessage方法里面有quote参数,只需要像这样
await app.sendGroupMessage(MessageChain, quote = message.get(Source)[0])
感谢回复,但是我发觉这样quote的消息里会出现多余的at(如下图),怀疑和 #24 为关联问题,能麻烦大神reopen一下这两个issue看看吗?谢谢!
from application.
sendGroupMessage方法里面有quote参数,只需要像这样
await app.sendGroupMessage(MessageChain, quote = message.get(Source)[0])
感谢回复,但是我发觉这样quote的消息里会出现多余的at(如下图),怀疑和 #24 为关联问题,能麻烦大神reopen一下这两个issue看看吗?谢谢!
这应该是你在引用已经引用其他消息的消息(说的有点绕)
这个不是graia的问题
应该上报到mirai(不知道那边是否有相关issue)
from application.
Related Issues (20)
- mcl登录成功后运行bot出现connect_info=Session( TypeError: __init__() got an unexpected keyword argument 'authKey'错误 HOT 1
- 提示 metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases HOT 1
- 报错 cannot import name 'BaseDispatcher' from 'graia.broadcast.entities.event' HOT 3
- cannot import name 'Protocol' HOT 2
- 问一下这个是什么问题 HOT 2
- 运行文档中例程时报错:TypeError: unhashable type: 'dict' HOT 1
- 无法正常使用本项目 HOT 2
- 提供选项使 Voice_LocalFile 传递path给mah,而非先上传后传递voice_id HOT 4
- 运行文档Kanata例程时报错
- cannot import name 'BaseDispatcher' HOT 2
- 运行bot.py报错:远程主机拒绝连接 HOT 8
- 握手失败,是否因为localhost地址和端口相关的原因 HOT 4
- 请求适配 Mirai http api 2.x HOT 1
- Graia 实际上不兼容mirai-api-http 2.x (? HOT 2
- 定时长信息发送失败
- 图片发送没有成功 HOT 2
- pip安装的0.20.1版本缺少已修复内容,请求发布新版本
- 发送带有At的消息时报错 HOT 2
- Ariadne: the future of Application HOT 2
- 文档挂了 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from application.