Skip to content

Commit

Permalink
optimize: Info
Browse files Browse the repository at this point in the history
  • Loading branch information
snowtafir committed Sep 13, 2024
1 parent f1c7df5 commit d99cd83
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ https://m.weibo.cn/u/7643376782 # 7643376782 为崩坏星穹铁道博主uid
||||
| **微博功能** | ------------------------- | ---------- |
| 添加微博推送 | 检测博主的微博动态进行推送,权限:Master,可选分类:视频、图文、文章,不加分类则默认全部 | `#订阅微博推送uid` `#订阅微博推送 图文 uid` |
| 取消微博推送 | 删除对应博主的微博对应类型的动态推送,权限:Master,可选分类:视频、图文、文章,不加分类则默认全部 | `#取消微博推送uid` `#取消B站推送 图文 uid` |
| 查看微博订阅列表 | 查看本Bot所有的B站订阅列表,权限:Bot的Master | `#微博全部订阅列表` |
| 取消微博推送 | 删除对应博主的微博对应类型的动态推送,权限:Master,可选分类:视频、图文、文章,不加分类则默认全部 | `#取消微博推送uid` `#取消微博推送 图文 uid` |
| 查看微博订阅列表 | 查看本Bot所有的微博订阅列表,权限:Bot的Master | `#微博全部订阅列表` |
| 查看本群/私聊微博订阅列表 | 查看 本群/私聊 添加的微博订阅列表 | `#微博订阅列表` |
| 手动推送微博订阅 | 手动触发定时推送任务,权限:Bot的Master | `#执行微博任务` |
| 查看博主信息 | 通过uid查看博主信息 | `#微博博主 uid` |
Expand Down
2 changes: 1 addition & 1 deletion models/weibo/weibo.task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export class WeiboTask {

redis.set(`${markKey}${chatId}:${id_str}`, "1", { EX: 3600 * 10 }); // 设置已发送标记

(logger ?? Bot.logger)?.mark("优纪插件:B站动态执行推送");
(logger ?? Bot.logger)?.mark("优纪插件:微博动态执行推送");

for (let i = 0; i < imgs.length; i++) {
const image: Buffer = imgs[i];
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yuki-plugin",
"version": "2.0.4-0",
"version": "2.0.4-1",
"author": "snowtafir",
"description": "优纪插件,yunzai-V4 关于 微博推送、B站推送 等功能的拓展插件",
"main": "./index",
Expand Down

0 comments on commit d99cd83

Please sign in to comment.