feat: 更新表情包
This commit is contained in:
parent
01f7917965
commit
ac99f0a9ce
@ -15,7 +15,7 @@ argument-hint: "需要 name,如 [开心]、[快乐];可重复传入发送多
|
|||||||
## 可用表情
|
## 可用表情
|
||||||
|
|
||||||
| 名称 |
|
| 名称 |
|
||||||
| -------- |
|
| ------------ |
|
||||||
| `[调皮]` |
|
| `[调皮]` |
|
||||||
| `[无语]` |
|
| `[无语]` |
|
||||||
| `[爱心]` |
|
| `[爱心]` |
|
||||||
@ -25,6 +25,8 @@ argument-hint: "需要 name,如 [开心]、[快乐];可重复传入发送多
|
|||||||
| `[厉害]` |
|
| `[厉害]` |
|
||||||
| `[生气]` |
|
| `[生气]` |
|
||||||
| `[开心]` |
|
| `[开心]` |
|
||||||
|
| `[打你]` |
|
||||||
|
| `[禁止色色]` |
|
||||||
|
|
||||||
> 表情映射表在脚本 `EMOJI_MAP` 中维护,新增表情直接在脚本中添加即可,无需修改 SKILL.md。
|
> 表情映射表在脚本 `EMOJI_MAP` 中维护,新增表情直接在脚本中添加即可,无需修改 SKILL.md。
|
||||||
|
|
||||||
|
|||||||
@ -51,6 +51,14 @@ EMOJI_MAP: dict[str, dict[str, object]] = {
|
|||||||
"Md5": "4aae9dbe27651859ed526bcaad5f1f34",
|
"Md5": "4aae9dbe27651859ed526bcaad5f1f34",
|
||||||
"TotalLen": 19788,
|
"TotalLen": 19788,
|
||||||
},
|
},
|
||||||
|
"[禁止色色]": {
|
||||||
|
"Md5": "d4509efdb82cf39c9c5eabc67c7b03e1",
|
||||||
|
"TotalLen": 7739250,
|
||||||
|
},
|
||||||
|
"[打你]": {
|
||||||
|
"Md5": "b7f19049a1e3f5814c976fb43934fd04",
|
||||||
|
"TotalLen": 2093382,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -231,8 +231,10 @@ def call_jimeng_video(
|
|||||||
timeout=300,
|
timeout=300,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
data = resp.get("data") or []
|
||||||
|
|
||||||
urls: list[str] = []
|
urls: list[str] = []
|
||||||
for item in resp.get("data", []):
|
for item in data:
|
||||||
if isinstance(item, dict):
|
if isinstance(item, dict):
|
||||||
url = item.get("url")
|
url = item.get("url")
|
||||||
if isinstance(url, str) and url.strip():
|
if isinstance(url, str) and url.strip():
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user