nonebot-plugin-rollpig 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- nonebot_plugin_rollpig/__init__.py +126 -0
- nonebot_plugin_rollpig/resource/image/black-pig.png +0 -0
- nonebot_plugin_rollpig/resource/image/black-white-pig.png +0 -0
- nonebot_plugin_rollpig/resource/image/crystal-pig.png +0 -0
- nonebot_plugin_rollpig/resource/image/demon-pig.png +0 -0
- nonebot_plugin_rollpig/resource/image/doll-pig.png +0 -0
- nonebot_plugin_rollpig/resource/image/explosive-pig.png +0 -0
- nonebot_plugin_rollpig/resource/image/heaven-pig.png +0 -0
- nonebot_plugin_rollpig/resource/image/human.png +0 -0
- nonebot_plugin_rollpig/resource/image/magic-pig.png +0 -0
- nonebot_plugin_rollpig/resource/image/mechanical-pig.png +0 -0
- nonebot_plugin_rollpig/resource/image/pig-ball.png +0 -0
- nonebot_plugin_rollpig/resource/image/pig-cat.png +0 -0
- nonebot_plugin_rollpig/resource/image/pig-human.png +0 -0
- nonebot_plugin_rollpig/resource/image/pig-stamp.png +0 -0
- nonebot_plugin_rollpig/resource/image/pig.png +0 -0
- nonebot_plugin_rollpig/resource/image/pork-skewer.png +0 -0
- nonebot_plugin_rollpig/resource/image/skeleton-pig.png +0 -0
- nonebot_plugin_rollpig/resource/image/snow-pig.png +0 -0
- nonebot_plugin_rollpig/resource/image/soul-pig.png +0 -0
- nonebot_plugin_rollpig/resource/image/wild-boar.png +0 -0
- nonebot_plugin_rollpig/resource/image/zhuge-liang.png +0 -0
- nonebot_plugin_rollpig/resource/image/zombie-pig.png +0 -0
- nonebot_plugin_rollpig/resource/pig.json +134 -0
- nonebot_plugin_rollpig/resource/template.html +61 -0
- nonebot_plugin_rollpig-0.1.0.dist-info/METADATA +28 -0
- nonebot_plugin_rollpig-0.1.0.dist-info/RECORD +29 -0
- nonebot_plugin_rollpig-0.1.0.dist-info/WHEEL +4 -0
- nonebot_plugin_rollpig-0.1.0.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
from nonebot import on_command
|
|
2
|
+
from nonebot.plugin import PluginMetadata
|
|
3
|
+
from nonebot.adapters.onebot.v11 import MessageSegment
|
|
4
|
+
from nonebot_plugin_htmlrender import template_to_pic
|
|
5
|
+
from nonebot_plugin_apscheduler import scheduler
|
|
6
|
+
import nonebot_plugin_localstore as store
|
|
7
|
+
|
|
8
|
+
from nonebot.log import logger
|
|
9
|
+
import random
|
|
10
|
+
import json
|
|
11
|
+
import datetime
|
|
12
|
+
from pathlib import Path
|
|
13
|
+
|
|
14
|
+
# 插件配置页
|
|
15
|
+
__plugin_meta__ = PluginMetadata(
|
|
16
|
+
name="今天是什么小猪",
|
|
17
|
+
description="抽取每日属于自己的小猪",
|
|
18
|
+
usage="""
|
|
19
|
+
今日小猪 - 抽取今天属于你的小猪类型
|
|
20
|
+
""",
|
|
21
|
+
type="application",
|
|
22
|
+
homepage="https://github.com/Bearlele/nonebot-plugin-rollpig",
|
|
23
|
+
)
|
|
24
|
+
|
|
25
|
+
# 插件目录
|
|
26
|
+
PLUGIN_DIR = Path(__file__).parent
|
|
27
|
+
PIGINFO_PATH = PLUGIN_DIR / "resource" / "pig.json"
|
|
28
|
+
IMAGE_DIR = PLUGIN_DIR / "resource" / "image"
|
|
29
|
+
RES_DIR = PLUGIN_DIR / "resource"
|
|
30
|
+
|
|
31
|
+
# 今日记录
|
|
32
|
+
TODAY_PATH = store.get_plugin_data_file("today.json")
|
|
33
|
+
|
|
34
|
+
cmd = on_command("今天是什么小猪", aliases={"今日小猪", "我是什么小猪"})
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def load_json(path, default):
|
|
38
|
+
if not path.exists():
|
|
39
|
+
path.write_text(json.dumps(default, ensure_ascii=False, indent=2), encoding="utf-8")
|
|
40
|
+
return default
|
|
41
|
+
return json.loads(path.read_text("utf-8"))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
def save_json(path, data):
|
|
45
|
+
path.write_text(
|
|
46
|
+
json.dumps(data, ensure_ascii=False, indent=2),
|
|
47
|
+
encoding="utf-8"
|
|
48
|
+
)
|
|
49
|
+
|
|
50
|
+
def find_image_file(pig_id: str) -> Path | None:
|
|
51
|
+
exts = ["png", "jpg", "jpeg", "webp", "gif"]
|
|
52
|
+
|
|
53
|
+
for ext in exts:
|
|
54
|
+
file = IMAGE_DIR / f"{pig_id}.{ext}"
|
|
55
|
+
if file.exists():
|
|
56
|
+
return file
|
|
57
|
+
return None
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
# 0 点自动清空
|
|
61
|
+
@scheduler.scheduled_job("cron", hour=0, minute=0)
|
|
62
|
+
def reset_today():
|
|
63
|
+
if TODAY_PATH.exists():
|
|
64
|
+
TODAY_PATH.unlink()
|
|
65
|
+
logger.info("已清空今日记录")
|
|
66
|
+
|
|
67
|
+
# 主函数
|
|
68
|
+
@cmd.handle()
|
|
69
|
+
async def _(bot, event):
|
|
70
|
+
today_str = datetime.date.today().isoformat()
|
|
71
|
+
|
|
72
|
+
# 读取今日缓存
|
|
73
|
+
today_data = load_json(TODAY_PATH, {})
|
|
74
|
+
|
|
75
|
+
# 确保当天有字典存储用户数据
|
|
76
|
+
if today_str not in today_data:
|
|
77
|
+
today_data[today_str] = {}
|
|
78
|
+
|
|
79
|
+
user_id = str(event.user_id) # 使用 QQ 号作为 key
|
|
80
|
+
|
|
81
|
+
# 不重复抽
|
|
82
|
+
if user_id in today_data[today_str]:
|
|
83
|
+
pig = today_data[today_str][user_id]
|
|
84
|
+
await send_rendered_pig(event, pig)
|
|
85
|
+
return
|
|
86
|
+
|
|
87
|
+
piglist = load_json(PIGINFO_PATH, [])
|
|
88
|
+
if not piglist:
|
|
89
|
+
logger.error("pig.json 里没找到小猪信息哦~")
|
|
90
|
+
return
|
|
91
|
+
|
|
92
|
+
# 随机
|
|
93
|
+
pig = random.choice(piglist)
|
|
94
|
+
|
|
95
|
+
# 保存当天该用户的抽取结果
|
|
96
|
+
today_data[today_str][user_id] = pig
|
|
97
|
+
save_json(TODAY_PATH, today_data)
|
|
98
|
+
|
|
99
|
+
await send_rendered_pig(event, pig)
|
|
100
|
+
|
|
101
|
+
async def send_rendered_pig(event, pig_data):
|
|
102
|
+
|
|
103
|
+
# 使用 id 字段作为图片名
|
|
104
|
+
pig_id = pig_data.get("id", "")
|
|
105
|
+
|
|
106
|
+
avatar_file = find_image_file(pig_id)
|
|
107
|
+
|
|
108
|
+
if not avatar_file:
|
|
109
|
+
logger.warning(f"未找到图片: {pig_id}.*")
|
|
110
|
+
avatar_uri = ""
|
|
111
|
+
else:
|
|
112
|
+
avatar_uri = avatar_file.as_uri()
|
|
113
|
+
|
|
114
|
+
# 渲染 HTML
|
|
115
|
+
pic = await template_to_pic(
|
|
116
|
+
template_path=RES_DIR,
|
|
117
|
+
template_name="template.html",
|
|
118
|
+
templates={
|
|
119
|
+
"avatar": avatar_uri,
|
|
120
|
+
"name": pig_data["name"],
|
|
121
|
+
"desc": pig_data["description"],
|
|
122
|
+
"analysis": pig_data["analysis"],
|
|
123
|
+
},
|
|
124
|
+
)
|
|
125
|
+
|
|
126
|
+
await cmd.finish(MessageSegment.image(pic))
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "human",
|
|
4
|
+
"name": "人类",
|
|
5
|
+
"description": "检测不出猪元素,是人类吗?",
|
|
6
|
+
"analysis": "你拥有人类的思维和情感,保持着理性和智慧。不过有时候适当放松一下,学学猪的简单快乐也不错哦!"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"id": "pig",
|
|
10
|
+
"name": "猪",
|
|
11
|
+
"description": "普通小猪",
|
|
12
|
+
"analysis": "你性格温和,喜欢简单的生活,容易满足。在别人眼中可能有些慵懒,但你知道如何享受生活的美好。"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"id": "black-pig",
|
|
16
|
+
"name": "小黑猪",
|
|
17
|
+
"description": "小黑猪,卤出猪脚了",
|
|
18
|
+
"analysis": "你有着独特的魅力,外表低调但内心丰富。黑色象征着神秘和深度,你的性格也像一本值得细细品味的书。"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "wild-boar",
|
|
22
|
+
"name": "野猪",
|
|
23
|
+
"description": "你是一只勇猛的野猪!",
|
|
24
|
+
"analysis": "你性格刚强,充满活力和冒险精神。遇到困难从不轻易退缩,有着坚韧不拔的意志和强大的生存能力。"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "zhuge-liang",
|
|
28
|
+
"name": "猪葛亮",
|
|
29
|
+
"description": "猪里最聪明的一个",
|
|
30
|
+
"analysis": "你聪明绝顶,机智过人,有着非凡的智慧和谋略。在关键时刻总能想出解决问题的办法,是大家眼中的智多星。"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"id": "pig-stamp",
|
|
34
|
+
"name": "猪圆章",
|
|
35
|
+
"description": "《猪圈那些事》",
|
|
36
|
+
"analysis": "你做事认真负责,注重细节,有着强烈的责任感。你的存在让周围的一切都变得更加有序和可靠。"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "zombie-pig",
|
|
40
|
+
"name": "僵尸猪",
|
|
41
|
+
"description": "喜欢的食物是猪脑",
|
|
42
|
+
"analysis": "你有着独特的个性和思维方式,常常让人捉摸不透。你的创造力和想象力丰富,总能带来意想不到的惊喜。"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"id": "skeleton-pig",
|
|
46
|
+
"name": "骷髅猪",
|
|
47
|
+
"description": "资深不死族",
|
|
48
|
+
"analysis": "你外表看起来有些冷酷,但内心温暖。你有着独特的审美和品味,喜欢追求个性和与众不同。"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"id": "pig-human",
|
|
52
|
+
"name": "猪人",
|
|
53
|
+
"description": "你是猪还是人?",
|
|
54
|
+
"analysis": "你兼具猪的可爱和人的智慧,能够在不同的环境中灵活适应。你有着丰富的情感和复杂的内心世界。"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"id": "demon-pig",
|
|
58
|
+
"name": "恶魔猪",
|
|
59
|
+
"description": "满肚子坏心眼",
|
|
60
|
+
"analysis": "你活泼好动,喜欢恶作剧,充满了恶作剧的精神。虽然有时候会让人头疼,但你的活力和幽默感也给周围带来了很多欢乐。"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"id": "heaven-pig",
|
|
64
|
+
"name": "天堂猪",
|
|
65
|
+
"description": "似了喵~",
|
|
66
|
+
"analysis": "你性格善良,心灵纯洁,总是愿意帮助他人。你的存在就像阳光一样温暖,给周围的人带来希望和力量。"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"id": "explosive-pig",
|
|
70
|
+
"name": "爆破小猪",
|
|
71
|
+
"description": "我跟你爆了!",
|
|
72
|
+
"analysis": "你精力充沛,热情似火,有着强烈的感染力。你的出现总能点燃周围的气氛,让一切变得更加活跃和有趣。"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"id": "black-white-pig",
|
|
76
|
+
"name": "黑白猪",
|
|
77
|
+
"description": "串子",
|
|
78
|
+
"analysis": "你有着矛盾而统一的性格,既有着严肃认真的一面,也有着活泼可爱的一面。你追求平衡和和谐,善于在不同的场合展现不同的自己。"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"id": "pork-skewer",
|
|
82
|
+
"name": "猪肉串",
|
|
83
|
+
"description": "真正的串子",
|
|
84
|
+
"analysis": "你性格开朗,善于与人交往,有着很强的亲和力。你就像美食一样,能够带给人满足和快乐,是大家都喜欢的对象。"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"id": "magic-pig",
|
|
88
|
+
"name": "魔法少猪",
|
|
89
|
+
"description": "马猪烧酒",
|
|
90
|
+
"analysis": "你有着丰富的想象力和创造力,总是能够带给人惊喜和新鲜感。你的想法独特而有趣,常常能够启发他人的思维。"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "mechanical-pig",
|
|
94
|
+
"name": "机械猪",
|
|
95
|
+
"description": "人机",
|
|
96
|
+
"analysis": "你思维逻辑清晰,做事有条理,有着很强的分析和解决问题的能力。你喜欢追求效率和完美,是一个可靠的合作伙伴。"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"id": "pig-ball",
|
|
100
|
+
"name": "猪猪球",
|
|
101
|
+
"description": "滚了",
|
|
102
|
+
"analysis": "你性格活泼好动,充满了青春活力,喜欢运动和挑战。你有着很强的适应能力,能够在不同的环境中保持积极向上的态度。"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"id": "doll-pig",
|
|
106
|
+
"name": "玩偶猪",
|
|
107
|
+
"description": "fufu小猪",
|
|
108
|
+
"analysis": "你外表可爱,性格温柔,让人忍不住想要亲近和保护。你有着很强的治愈能力,能够带给人安慰和温暖。"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"id": "soul-pig",
|
|
112
|
+
"name": "灵魂猪",
|
|
113
|
+
"description": "从冥界归来的猪",
|
|
114
|
+
"analysis": "你有着丰富的内心世界和深刻的思想,喜欢思考人生的意义和价值。你追求精神上的满足和成长,是一个有深度的人。"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"id": "crystal-pig",
|
|
118
|
+
"name": "水晶猪",
|
|
119
|
+
"description": "珍贵又脆弱的小猪",
|
|
120
|
+
"analysis": "你有着纯洁透明的心灵和高雅的气质,就像水晶一样美丽而珍贵。你追求真善美,有着很高的道德标准和审美情趣。"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"id": "snow-pig",
|
|
124
|
+
"name": "雪猪",
|
|
125
|
+
"description": "洁白的雪猪",
|
|
126
|
+
"analysis": "你性格纯真,心灵洁净,就像雪一样洁白无瑕。你有着独特的魅力和气质,让人忍不住想要接近和了解。"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"id": "pig-cat",
|
|
130
|
+
"name": "猪咪",
|
|
131
|
+
"description": "你是一只可爱的猪咪!",
|
|
132
|
+
"analysis": "你兼具猪的可爱和猫的优雅,有着独特的魅力和个性。你既喜欢享受生活的美好,也有着自己的独立思想和主张。"
|
|
133
|
+
}
|
|
134
|
+
]
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="zh">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<style>
|
|
6
|
+
body {
|
|
7
|
+
margin: 0;
|
|
8
|
+
width: 800px;
|
|
9
|
+
height: 800px;
|
|
10
|
+
border-radius: 40px;
|
|
11
|
+
background: #ffffff;
|
|
12
|
+
font-family: "Microsoft YaHei", sans-serif;
|
|
13
|
+
display: flex;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
align-items: center;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.container {
|
|
19
|
+
width: 90%;
|
|
20
|
+
text-align: center;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.avatar {
|
|
24
|
+
width: 200px;
|
|
25
|
+
height: 200px;
|
|
26
|
+
object-fit: cover;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.name {
|
|
30
|
+
margin-top: 20px;
|
|
31
|
+
font-size: 48px;
|
|
32
|
+
font-weight: bold;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.desc {
|
|
36
|
+
margin-top: 20px;
|
|
37
|
+
font-size: 30px;
|
|
38
|
+
color: #555;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.analysis {
|
|
42
|
+
margin-top: 30px;
|
|
43
|
+
font-size: 28px;
|
|
44
|
+
color: #333;
|
|
45
|
+
line-height: 1.5;
|
|
46
|
+
}
|
|
47
|
+
</style>
|
|
48
|
+
</head>
|
|
49
|
+
<body>
|
|
50
|
+
<div class="container">
|
|
51
|
+
|
|
52
|
+
{% if avatar %}
|
|
53
|
+
<img class="avatar" src="{{ avatar }}" />
|
|
54
|
+
{% endif %}
|
|
55
|
+
|
|
56
|
+
<div class="name">{{ name }}</div>
|
|
57
|
+
<div class="desc">{{ desc }}</div>
|
|
58
|
+
<div class="analysis">{{ analysis }}</div>
|
|
59
|
+
</div>
|
|
60
|
+
</body>
|
|
61
|
+
</html>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: nonebot_plugin_rollpig
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: 每日抽取属于自己的小猪
|
|
5
|
+
License: MIT
|
|
6
|
+
License-File: LICENSE
|
|
7
|
+
Author: Bear_lele
|
|
8
|
+
Author-email: lele2587342146@gmail.com
|
|
9
|
+
Requires-Python: >=3.9,<4.0
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
18
|
+
Requires-Dist: nonebot-adapter-onebot (>=2.2.0,<3.0.0)
|
|
19
|
+
Requires-Dist: nonebot-plugin-apscheduler (>=0.5.0)
|
|
20
|
+
Requires-Dist: nonebot-plugin-htmlrender (>=0.4.0,<0.5.0)
|
|
21
|
+
Requires-Dist: nonebot-plugin-localstore (>=0.7.4)
|
|
22
|
+
Requires-Dist: nonebot2 (>=2.4.0,<3.0.0)
|
|
23
|
+
Project-URL: Homepage, https://github.com/Bearlele/nonebot-plugin-rollpig
|
|
24
|
+
Description-Content-Type: text/markdown
|
|
25
|
+
|
|
26
|
+
# nonebot-plugin-rollpig
|
|
27
|
+
来抽取属于你的小猪吧!
|
|
28
|
+
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
nonebot_plugin_rollpig/__init__.py,sha256=2OsroSnmjxppye-acodNG9LHxqhpCOHFPRna73wzLZo,3489
|
|
2
|
+
nonebot_plugin_rollpig/resource/image/black-pig.png,sha256=f4kTgn_A7Mxr-Rk01cr2yEKO9X91CnyT6Meax9XgliQ,10722
|
|
3
|
+
nonebot_plugin_rollpig/resource/image/black-white-pig.png,sha256=FJ6rWl2cXgd401Q9xfUQEjuP2Gz4E01dU_PymTjy1DI,19559
|
|
4
|
+
nonebot_plugin_rollpig/resource/image/crystal-pig.png,sha256=MvAGfbJk7YpnG1YAObHldW16Lk7aJj4ym4G91b1nnvI,69523
|
|
5
|
+
nonebot_plugin_rollpig/resource/image/demon-pig.png,sha256=ewUMk7LwztZaf51V7K0C1psiYlr4le6yLbUqOoUpo-Q,12841
|
|
6
|
+
nonebot_plugin_rollpig/resource/image/doll-pig.png,sha256=ZQ3P2temwzlLW78hAxhQjnPiLZqfu94bSA0sbQ_CA_0,66837
|
|
7
|
+
nonebot_plugin_rollpig/resource/image/explosive-pig.png,sha256=XRM33JxTbQ1Bqw2WgNbMc7IQPVZxObSk8iDXvbZredE,27206
|
|
8
|
+
nonebot_plugin_rollpig/resource/image/heaven-pig.png,sha256=040-bRaWpqBRNos1ZJtCK4nex63538JYI0gH99zUQLY,16832
|
|
9
|
+
nonebot_plugin_rollpig/resource/image/human.png,sha256=y2MZg0Ccf5ixRHDx4fF6UIra6BI2HS5Ta_KRmbWULTI,5318
|
|
10
|
+
nonebot_plugin_rollpig/resource/image/magic-pig.png,sha256=QOA-_NYiVU-9tFDvL1-YrPnyoOshO3VDMNm5nflVWcY,45549
|
|
11
|
+
nonebot_plugin_rollpig/resource/image/mechanical-pig.png,sha256=fy0WZeg-P0XDaQlKwYoGeZ3x-yVJ92M8VKLshr9R1qY,27301
|
|
12
|
+
nonebot_plugin_rollpig/resource/image/pig-ball.png,sha256=17Xc8ZwcibpXZuDSmVsvK1mkkSA0ARk7L4oGEVZzt14,17232
|
|
13
|
+
nonebot_plugin_rollpig/resource/image/pig-cat.png,sha256=5lai-RixCSazKAS_jiJVLaVVmQtTWecc5fKgd-WAwRg,34729
|
|
14
|
+
nonebot_plugin_rollpig/resource/image/pig-human.png,sha256=wpW2vYYSWgE2D0hr_dqU7_uwvW5ez9_yeo1A3ikJOvc,13417
|
|
15
|
+
nonebot_plugin_rollpig/resource/image/pig-stamp.png,sha256=XjXECXX3ycWhAULjyc46sKVoYheedsdCfhJvmGXxutc,14028
|
|
16
|
+
nonebot_plugin_rollpig/resource/image/pig.png,sha256=4ipCbYjK6rVqDLIeUH3HSCgUO8T5vTWybFa2hrXzfk4,10494
|
|
17
|
+
nonebot_plugin_rollpig/resource/image/pork-skewer.png,sha256=zmupRrODQ3VqqlsXLiDsQ5VWyNgnIOvqTP7S2_0Ig5U,9122
|
|
18
|
+
nonebot_plugin_rollpig/resource/image/skeleton-pig.png,sha256=hAKL6v5W2gyjuHKciEAigIYTlVaMBmASjyYu9gtNdac,38607
|
|
19
|
+
nonebot_plugin_rollpig/resource/image/snow-pig.png,sha256=IYvo1qUUsKC5JLGcHEcMWroyONO1L4Xcf15eBel-l90,18550
|
|
20
|
+
nonebot_plugin_rollpig/resource/image/soul-pig.png,sha256=PlAp7k_DneuLpmN79NHqdsd_dM_o9bjmnTN7htzUaDE,13984
|
|
21
|
+
nonebot_plugin_rollpig/resource/image/wild-boar.png,sha256=daBhmLS0SFVqhYtn12QsNjg1KzNh5oiuI7wFN-J4xbM,13378
|
|
22
|
+
nonebot_plugin_rollpig/resource/image/zhuge-liang.png,sha256=yvF5hNUzBXJIHi-vwg5f4YD_aEtqUJeIarpyiNReios,49905
|
|
23
|
+
nonebot_plugin_rollpig/resource/image/zombie-pig.png,sha256=fKQlp_kI3x8wMlVUT6U-rilMLpH0TpT_-ViNVWBSbcM,20797
|
|
24
|
+
nonebot_plugin_rollpig/resource/pig.json,sha256=afKUyD5tYUiqqJYWK1m8HJBgEciq6HyVwVM2Z_CIIFw,6347
|
|
25
|
+
nonebot_plugin_rollpig/resource/template.html,sha256=Xs5YIhhemIgwr2nrWAjW6G1HhgMVE8tYx8yeTi9yphw,1060
|
|
26
|
+
nonebot_plugin_rollpig-0.1.0.dist-info/licenses/LICENSE,sha256=zn7XqavdCw11Nln_m8Eu0S7C3rZ9C-VGbqbrVGeSTGg,1087
|
|
27
|
+
nonebot_plugin_rollpig-0.1.0.dist-info/METADATA,sha256=twdALCRh2UXguBQmH7FGeEutpxlc_VBomPPT-H7rPRU,1065
|
|
28
|
+
nonebot_plugin_rollpig-0.1.0.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
29
|
+
nonebot_plugin_rollpig-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Bear_lele
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|