Mi.py
An API wrapper for creating Misskey bots in Python.
Install / Use
/learn @yupix/Mi.pyREADME
Mi.py
<a><img src="https://img.shields.io/github/commit-activity/w/yupix/Mi.py"></a>
<a><img src="https://img.shields.io/pypi/dm/Mi.py?label=PyPI"></a>
<a href="https://discord.gg/CcT997U"><img src="https://img.shields.io/discord/530299114387406860?style=flat-square&color=5865f2&logo=discord&logoColor=ffffff&label=discord" alt="Discord server invite" /></a>
Warning
This project will no longer be updated. Please consider moving to MiPA, the successor project to Mi.py.
Overview
Mi.py is a Misskey API Wrapper that is designed to be written in a Discord.py-like way
Supported Misskey
How to use
Changed from README to here in writing various usages. For other methods, etc., please see Documentation.
warning
- If you connect to the home timeline while connected to the global timeline, the
on_messageevent will work twice for one message, because the same message is received on two channels. This is not a bug, but normal behavior.
await Router(ws).connect_channel(['home', 'global'])
-
v3.0.0 has very little compatibility with v2.0.0.
-
X.X.X > X.9.9 and X.9.9 or higher is a beta version that does not raise the major version but makes destructive changes such as BREAKING CHANGE, etc. 3.10.1 is also a beta version. The following is a list of the most common problems with the
Collaborators
<table> <tr> <td><img src="https://avatars.githubusercontent.com/u/50538210?s=120&v=4"></img></td> </tr> <tr> <td align="center"><a href="https://github.com/yupix">Author | @yupix</a></td> </tr> </table>SpecialThanks
These are the people who contributed to the development
<table> <tr> <td align="center"> <img src="https://avatars.githubusercontent.com/u/26793720?s=120&v=4" alt="uraking"/> </td> <td align="center"> <img src="https://avatars.githubusercontent.com/u/33174568?s=120&v=4" alt="sousuke0422"/> </td> <td align="center"> <img src="https://avatars.githubusercontent.com/u/96478337?s=120&v=4" alt="sousuke0422"/> </td> </tr> <tr> <td><a href="https://github.com/Uraking-Github">Adviser | @Uraking</a></td> <td><a href="https://github.com/sousuke0422"> Documentation| @sousuke0422</a></td> <td><a href="https://github.com/fotoente"> Translation| @fotoente</a></td> </tr> </table>Libraries
- Discord.py
- I am using some of the mechanisms as a reference. We also use the actual code.
Finally, Discord.py, which inspired me to create this project and for which I use some of the code, is now Archived. Many thanks to Danny and all the collaborators.
Projects that use Mi.py
LICENSE
<p align="center"> <a href="https://yupix.github.io/Mi.py/en">Documentation</a> * <a href="https://discord.gg/CcT997U">Discord Server</a> </p>Related Skills
node-connect
346.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
