A NoneBot2 plugin for drawing Manosaba memes
Project description
介绍
nonebot-plugin-manosaba-memes 是一个用于生成与游戏「魔法少女的魔法审判」相关的表情包的插件。还在开发中,有好的想法欢迎提 Issue 哦~
功能
安安说
让不同表情的安安举着写了你想说的话的素描本
格式: 安安说 [文本] [表情]
| 示例 1 | 示例 2 |
|---|---|
| 安安说 吾辈现在不想说话 | 安安说 吾辈命令你现在【猛击自己的魔丸一百下】 生气 |
注意:
- 可用表情有:害羞, 生气, 病娇, 无语, 开心
- 中括号中的内容会被渲染成紫色
- 可以在文本中输入“\n”进行换行,也可以使用半角双引号包裹住文本内容后直接进行换行
我当时睡的可香了
生成审判时的选项图片
格式: 【疑问/反驳/伪证/赞同】[文本]
| 示例 1 | 示例 2 |
|---|---|
| 【伪证】我和艾玛不是恋人 【赞同】我们初中的时候就确认关系了 |
【疑问】汉娜和雪莉约会没有邀请我很可疑 |
注意:
- 使用
切换角色 [艾玛/希罗]可以切换角色,角色与用户绑定 - 多行文本会被识别为多条选项。选项数量没有上限,但 3 条以内效果最佳
安装
nb plugin install nonebot-plugin-manosaba-memes
使用包管理器安装
在 NoneBot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-manosaba-memes
pdm
pdm add nonebot-plugin-manosaba-memes
poetry
poetry add nonebot-plugin-manosaba-memes
conda
conda install nonebot-plugin-manosaba-memes
打开 NoneBot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_manosaba_memes"]
致谢
- 感谢 TY_Ling 提出了写这个插件的想法(其实一开始是他开始写的不过被我抢过来了w)
- 感谢 Mythos_404 编写了高效又好用的绘图库 sketchbook-py
- 感谢 Acacia 制作了魔法少女ノ魔女裁判,第一个能让我玩到凌晨四点的游戏
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot_plugin_manosaba_memes-0.1.2.tar.gz.
File metadata
- Download URL: nonebot_plugin_manosaba_memes-0.1.2.tar.gz
- Upload date:
- Size: 39.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
04d4d163e1a920c6783368f7386d8259dc068d58f7c10c65911729a3cca20671
|
|
| MD5 |
61d0d1c1dc985942b60b3239566998c7
|
|
| BLAKE2b-256 |
75b1f2c4678b568ba500ec933ce336607fc79e350e4afa4f94e87dd961652204
|
Provenance
The following attestation bundles were made for nonebot_plugin_manosaba_memes-0.1.2.tar.gz:
Publisher:
release.yml on zhaomaoniu/nonebot-plugin-manosaba-memes
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nonebot_plugin_manosaba_memes-0.1.2.tar.gz -
Subject digest:
04d4d163e1a920c6783368f7386d8259dc068d58f7c10c65911729a3cca20671 - Sigstore transparency entry: 700991929
- Sigstore integration time:
-
Permalink:
zhaomaoniu/nonebot-plugin-manosaba-memes@74cc0c3707a3871727ffcd4d8d89d922b15f9214 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/zhaomaoniu
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@74cc0c3707a3871727ffcd4d8d89d922b15f9214 -
Trigger Event:
push
-
Statement type:
File details
Details for the file nonebot_plugin_manosaba_memes-0.1.2-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_manosaba_memes-0.1.2-py3-none-any.whl
- Upload date:
- Size: 39.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
524517754f7bf390e08358cde4c6ded66ac4d3accf1683af82d73cdbd1b42470
|
|
| MD5 |
74d58c0d827eec03bb8c8be7e57b2564
|
|
| BLAKE2b-256 |
2fe31c929510e5a6524e1b1a3b67f8312a43c2f4efac8c0cb65e760a4b8a3024
|
Provenance
The following attestation bundles were made for nonebot_plugin_manosaba_memes-0.1.2-py3-none-any.whl:
Publisher:
release.yml on zhaomaoniu/nonebot-plugin-manosaba-memes
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nonebot_plugin_manosaba_memes-0.1.2-py3-none-any.whl -
Subject digest:
524517754f7bf390e08358cde4c6ded66ac4d3accf1683af82d73cdbd1b42470 - Sigstore transparency entry: 700991931
- Sigstore integration time:
-
Permalink:
zhaomaoniu/nonebot-plugin-manosaba-memes@74cc0c3707a3871727ffcd4d8d89d922b15f9214 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/zhaomaoniu
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@74cc0c3707a3871727ffcd4d8d89d922b15f9214 -
Trigger Event:
push
-
Statement type: