miraicle icon indicating copy to clipboard operation
miraicle copied to clipboard

一个基于 mirai-api-http 的轻量级 Python SDK

Results 10 miraicle issues
Sort by recently updated
recently updated
newest added

Now file uplaod api is /file/upload, and we don't need to read() after open file, otherwise the file name is always "file".

在机器人收到好友或者群聊邀请的时候,控制台都可以收到消息 'type': 'BotInvitedJoinGroupRequestEvent' 'type': 'NewFriendRequestEvent' 请问应该如何让机器人队如上类型的event做出反应?文档中并没有给出

使用nohup ./mcl & 在后台运行mcl之后,启动bot.py bot.py提示连接成功,但是无法接受群消息。 ![OOXILM{J34O93@I7EP9D2F](https://user-images.githubusercontent.com/22651494/166236591-2be79f08-f7ab-4ee8-8020-dc845e882074.png) ---code--- @miraicle.Mirai.receiver('GroupMessage') def hello_to_group(bot: miraicle.Mirai, msg: miraicle.GroupMessage): print(msg.plain) if msg.plain in ['Hello', 'hello']: bot.send_group_msg(group=msg.group, msg=[miraicle.Plain('Hello world!'), miraicle.Face().from_face_id(74), miraicle.At(qq=msg.sender)])

miraicle.Mirai() add new args :host update readme.md

看了下json的messageChain里是有Quote的类型的,但是似乎并没有提供相关的方法

我写了个任务计划插件,但是始终没有办法用我自己编写的 `group_switch.py` 去管理这个插件。详情如下: bot.py: ```python # -*- coding: UTF-8 –*- import miraicle from plugins import * qq = 123456789 # 我的QQ号 verify_key = '123' port = 8080 bot = miraicle.Mirai(qq...

没有API文档感觉有点难以入手,要读源代码吗?还是我没有发现API文档在哪里

documentation

文档好多都没写,想写个计划任务运行出bug …… 结果就乱调试着就可以了 还是希望能有个问问题的地方qaq

documentation