diff --git a/README.md b/README.md
index b49d6e3..4a076fa 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
-
+
@@ -8,7 +8,7 @@
> 📢 推荐 TG 个人互联网分享频道(分享日常冲浪互联网看到好玩的网站、app应用):[RrOrange和朋友们](https://t.me/RrOrangeAndFriends)
@@ -47,15 +47,15 @@
## 🧏 使用实例
-
+
-
+
-
+
-
+
-
+
## 📔 使用说明
@@ -139,11 +139,11 @@ apt-get install atomicparsley
> 如果解析有问题参考issue:[#I6MFF7](https://gitee.com/kyrzy0416/rconsole-plugin/issues/I6MFF7)
> [#I7KQVY](https://gitee.com/kyrzy0416/rconsole-plugin/issues/I7KQVY)
-
+
5. 【可选】对哔哩哔哩解析进行总结:需要填写哔哩哔哩的SESSDATA,或者[【推荐】扫码登录](https://gitee.com/kyrzy0416/rconsole-plugin#b%E7%AB%99%E6%89%AB%E7%A0%81%E7%99%BB%E5%BD%95)
-
+
6. 【可选】增加视频的时长限制(默认8分钟(60 * 8 = 480)):
- 在config/tools.yaml里设置`biliDuration`
@@ -188,10 +188,10 @@ git clone -b 1.6.7-lts https://gitee.com/kyrzy0416/rconsole-plugin.git
### 📺 B站扫码登录
命令:`#RBQ`,来自2024/4/1 才子 `Mix` 的命名
-
+
示例:
-
+
[👉 返回目录](#-qa)
@@ -208,7 +208,7 @@ git clone -b 1.6.7-lts https://gitee.com/kyrzy0416/rconsole-plugin.git
2. F12进入控制台,打开`网络/network`
3. 搜索`www.douyin.com`,把下面的一串cookie复制进去即可
-
+
**备用方案1** :
@@ -233,7 +233,7 @@ git clone -b 1.6.7-lts https://gitee.com/kyrzy0416/rconsole-plugin.git
- passport_assist_user
- ttwid
-
+
**备用方案2** (由`@重装小兔`提供)
@@ -285,7 +285,7 @@ git clone -b 1.6.7-lts https://gitee.com/kyrzy0416/rconsole-plugin.git
2. 在任意群里发送`#设置拉格朗日`,转换一下视频发送方式即可
-
+
[👉 返回目录](#-qa)
@@ -311,7 +311,7 @@ aiApiKey: '' # 用于识图的api key,kimi接口申请:https://platform.moon
3. 开始游玩
-
+
[👉 返回目录](#-qa)
@@ -331,7 +331,7 @@ aiApiKey: '' # 用于识图的api key,kimi接口申请:https://platform.moon
2. 进入小红书 - 注册 - 点击 `Cookie-Editor` 的导出 `Header String`
-
+
[👉 返回目录](#-qa)
@@ -370,7 +370,7 @@ apt install aria2
3. 登录,官方提供了三种登录方式
-
+
4. 添加信任用户(下面分别是设置、查看所有、查看特定信任用户),⚠️ 使用引用的方法去使用命令
@@ -380,11 +380,13 @@ apt install aria2
#查询R信任用户
```
-
+
-
+
-
+
+
+
5. 开始使用!
@@ -417,12 +419,12 @@ apt install aria2
## 🤺 R插件交流群
-
+
> 扫码不行就输入:575663150
## 📦 业务
-
+
## 📝 计划功能
- [x] YouTube解析(这个可能要🕊一久)
diff --git a/apps/switchers.js b/apps/switchers.js
index 2b654b5..3ed00ba 100644
--- a/apps/switchers.js
+++ b/apps/switchers.js
@@ -45,6 +45,11 @@ export class switchers extends plugin {
reg: "^#查询R信任用户(.*)",
fnc: "searchWhiteList",
permission: "master",
+ },
+ {
+ reg: "^#删除R信任用户(.*)",
+ fnc: "deleteWhiteList",
+ permission: "master",
}
]
});
@@ -199,6 +204,31 @@ export class switchers extends plugin {
}
return true;
}
+
+ async deleteWhiteList(e) {
+ let trustUserId;
+ // 判断是不是回复用户命令
+ if (e?.reply_id !== undefined) {
+ trustUserId = (await e.getReply()).user_id;
+ } else {
+ // 如果不是回复就看发送内容
+ trustUserId = e.msg.replace("#设置R信任用户", "");
+ }
+ let whiteList = await redisExistAndGetKey(REDOS_YUNZAI_WHITELIST);
+ if (whiteList == null) {
+ e.reply("R插件当前没有任何信任用户:");
+ return;
+ }
+ // 重复检测
+ if (!whiteList.includes(trustUserId)) {
+ e.reply("R信任用户不存在,无须删除!");
+ return;
+ }
+ whiteList = whiteList.filter((item) => item !== trustUserId);
+ // 放置到Redis里
+ await redisSetKey(REDOS_YUNZAI_WHITELIST, whiteList);
+ e.reply(`成功删除R信任用户:${ trustUserId }`);
+ }
}
diff --git a/img/aircraft.webp b/img/aircraft.webp
deleted file mode 100644
index ccf0ca1..0000000
Binary files a/img/aircraft.webp and /dev/null differ
diff --git a/img/aircraft1.webp b/img/aircraft1.webp
deleted file mode 100644
index 16fab3c..0000000
Binary files a/img/aircraft1.webp and /dev/null differ
diff --git a/img/aircraft2.webp b/img/aircraft2.webp
deleted file mode 100644
index e63304f..0000000
Binary files a/img/aircraft2.webp and /dev/null differ
diff --git a/img/aircraft3.webp b/img/aircraft3.webp
deleted file mode 100644
index dfd097f..0000000
Binary files a/img/aircraft3.webp and /dev/null differ
diff --git a/img/douyin_cookie.webp b/img/douyin_cookie.webp
deleted file mode 100644
index 1668181..0000000
Binary files a/img/douyin_cookie.webp and /dev/null differ
diff --git a/img/dy_ck.webp b/img/dy_ck.webp
deleted file mode 100644
index e93899e..0000000
Binary files a/img/dy_ck.webp and /dev/null differ
diff --git a/img/example.webp b/img/example.webp
deleted file mode 100644
index 7ae065a..0000000
Binary files a/img/example.webp and /dev/null differ
diff --git a/img/example10.webp b/img/example10.webp
deleted file mode 100644
index 73462fd..0000000
Binary files a/img/example10.webp and /dev/null differ
diff --git a/img/example2.webp b/img/example2.webp
deleted file mode 100644
index 4918c58..0000000
Binary files a/img/example2.webp and /dev/null differ
diff --git a/img/example3.webp b/img/example3.webp
deleted file mode 100644
index e7033c8..0000000
Binary files a/img/example3.webp and /dev/null differ
diff --git a/img/example4.webp b/img/example4.webp
deleted file mode 100644
index 1b338b4..0000000
Binary files a/img/example4.webp and /dev/null differ
diff --git a/img/example5.webp b/img/example5.webp
deleted file mode 100644
index a6c3e7a..0000000
Binary files a/img/example5.webp and /dev/null differ
diff --git a/img/example6.webp b/img/example6.webp
deleted file mode 100644
index f4746f0..0000000
Binary files a/img/example6.webp and /dev/null differ
diff --git a/img/example7.webp b/img/example7.webp
deleted file mode 100644
index 638bf20..0000000
Binary files a/img/example7.webp and /dev/null differ
diff --git a/img/example8.webp b/img/example8.webp
deleted file mode 100644
index 3a7df5b..0000000
Binary files a/img/example8.webp and /dev/null differ
diff --git a/img/example9.webp b/img/example9.webp
deleted file mode 100644
index f3f1951..0000000
Binary files a/img/example9.webp and /dev/null differ
diff --git a/img/github-contribution-grid-snake.svg b/img/github-contribution-grid-snake.svg
deleted file mode 100644
index 91829a9..0000000
--- a/img/github-contribution-grid-snake.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/img/help.webp b/img/help.webp
deleted file mode 100644
index ab08453..0000000
Binary files a/img/help.webp and /dev/null differ
diff --git a/img/lagrange.webp b/img/lagrange.webp
deleted file mode 100644
index 960a0a5..0000000
Binary files a/img/lagrange.webp and /dev/null differ
diff --git a/img/logo.webp b/img/logo.webp
deleted file mode 100644
index 78b4e9f..0000000
Binary files a/img/logo.webp and /dev/null differ
diff --git a/img/qq.webp b/img/qq.webp
deleted file mode 100644
index 0997f4a..0000000
Binary files a/img/qq.webp and /dev/null differ
diff --git a/img/rbq.webp b/img/rbq.webp
deleted file mode 100644
index 2797924..0000000
Binary files a/img/rbq.webp and /dev/null differ
diff --git a/img/rbq2.webp b/img/rbq2.webp
deleted file mode 100644
index f442a27..0000000
Binary files a/img/rbq2.webp and /dev/null differ
diff --git a/img/wxkimi.webp b/img/wxkimi.webp
deleted file mode 100644
index 9556324..0000000
Binary files a/img/wxkimi.webp and /dev/null differ
diff --git a/img/xhs-ck-export.webp b/img/xhs-ck-export.webp
deleted file mode 100644
index c972722..0000000
Binary files a/img/xhs-ck-export.webp and /dev/null differ