mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
🎨 style: 添加注释
This commit is contained in:
parent
ba472bf2f9
commit
4fbe84d9bd
@ -1842,7 +1842,7 @@ export class tools extends plugin {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// TG下载
|
// 小飞机下载
|
||||||
async aircraft(e) {
|
async aircraft(e) {
|
||||||
if (!(await this.isTrustUser(e.user_id))) {
|
if (!(await this.isTrustUser(e.user_id))) {
|
||||||
e.reply("你没有权限使用此命令");
|
e.reply("你没有权限使用此命令");
|
||||||
@ -1898,6 +1898,7 @@ export class tools extends plugin {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 贴吧
|
||||||
async tieba(e) {
|
async tieba(e) {
|
||||||
// 提取链接和ID
|
// 提取链接和ID
|
||||||
const msg = /https:\/\/tieba\.baidu\.com\/p\/[A-Za-z0-9]+/.exec(e.msg)?.[0];
|
const msg = /https:\/\/tieba\.baidu\.com\/p\/[A-Za-z0-9]+/.exec(e.msg)?.[0];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user