Skip to content

Commit

Permalink
分离 des 适配 web console
Browse files Browse the repository at this point in the history
  • Loading branch information
omg-xtao committed Feb 1, 2023
1 parent e5782dc commit 5ac6b81
Show file tree
Hide file tree
Showing 99 changed files with 188 additions and 17 deletions.
11 changes: 11 additions & 0 deletions 1A2B/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Play a game of 1A2B, command:,1a2b

# 例如

,1a2b start

,1a2b 1234

,1a2b 5678

...
1 change: 1 addition & 0 deletions abstract/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
能够将你的语句变得抽象起来~
1 change: 1 addition & 0 deletions aff/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aff 快速发送 aff
1 change: 1 addition & 0 deletions aireply/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
aireply 通过预设根据语义分析进行应答,支持设置白名单并全局开关
1 change: 1 addition & 0 deletions alicloud/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
alicloud 查询阿里云盘不定期掉落福利
1 change: 1 addition & 0 deletions annualreport/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
annualreport TG年度报告
2 changes: 2 additions & 0 deletions atadmins/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
一键 AT 本群管理员。
指令:,atadmins
1 change: 1 addition & 0 deletions audio_to_voice/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
audio_to_voice 将音乐文件转换为语音发送
1 change: 1 addition & 0 deletions autochangename/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
每 30 秒自动更新 last_name 为时间等小玩意。
1 change: 1 addition & 0 deletions autodel/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
autodel 定时删除消息
2 changes: 2 additions & 0 deletions base64/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Base64编码/解码。
命令:,b64e ,b64d
1 change: 1 addition & 0 deletions bc/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
命令:bc 数量 货币1 货币2
1 change: 1 addition & 0 deletions bin/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
使用binlist api查询,1分钟限额10次否则报错。使用方法:,bin xxx (xxx为信用卡卡号前4-8位,推荐6位)
2 changes: 2 additions & 0 deletions bingwall/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
获取 Bing 每日壁纸。
指令:,bingwall
3 changes: 3 additions & 0 deletions calculator/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
支持基本运算(加减乘除乘方开方)及进制转换。
命令:,cal [表达式] ,con [进制] [数字]
例如:`,cal 1+2` `,con 16 10`
2 changes: 2 additions & 0 deletions chat_transfer/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
导出、导入已加入的群组/频道(仅可导入公开群组/频道)
指令:,chat_transfer
1 change: 1 addition & 0 deletions clean_member/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
clean_member 多种方式清理群成员
1 change: 1 addition & 0 deletions clear_blocked/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
clear_blocked 清理所有已拉黑用户
1 change: 1 addition & 0 deletions clear_private_chat/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
clear_private_chat 通过指定关键词清除私聊
1 change: 1 addition & 0 deletions code/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
code 在线运行代码插件,支持输入
1 change: 1 addition & 0 deletions copy_sticker_set/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
copy_sticker_set 复制整个贴纸包
1 change: 1 addition & 0 deletions covid/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
covid 获取新冠疫情信息
1 change: 1 addition & 0 deletions crazy4/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
crazy4 天天疯狂!随机输出KFC疯狂星期四文案
1 change: 1 addition & 0 deletions da/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
da 删除群内所有消息(非群组管理员只删除自己的消息)
1 change: 1 addition & 0 deletions dc/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
列出本群dc分布/查看某个人所在的dc服务器(指令: ,dc)
1 change: 1 addition & 0 deletions dictionary/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dictionary 查询英语单词的意思
1 change: 1 addition & 0 deletions diss/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
儒雅随和版祖安语录。
2 changes: 2 additions & 0 deletions dme/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
删除当前对话您发送的特定数量的消息。
指令:,dme
1 change: 1 addition & 0 deletions eat/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
这个人很懒,什么都没有留下。
2 changes: 2 additions & 0 deletions epic/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
获取 Epic 喜加一限免。
指令:,epic
1 change: 1 addition & 0 deletions everyday_en/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
支持群订阅
2 changes: 2 additions & 0 deletions everyday_greet/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
每日问候。
指令:,everyday_greet
1 change: 1 addition & 0 deletions fadian/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fadian 促进群员感情的有趣插件&情话生成
1 change: 1 addition & 0 deletions get_status/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
get_status 获取自己或者他人的大会员自定义 emoji 状态
2 changes: 2 additions & 0 deletions getdel/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
获取当前群组的死号数。
指令:,getdel
1 change: 1 addition & 0 deletions getstickers/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
getstickers 获取整个贴纸包的贴纸
1 change: 1 addition & 0 deletions gfw/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gfw 查询ip或域名是否被墙
1 change: 1 addition & 0 deletions google/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
google 谷歌搜索
1 change: 1 addition & 0 deletions his/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
his 群成员历史消息记录查询
2 changes: 2 additions & 0 deletions hitokoto/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
一言。
指令:,hitokoto
7 changes: 7 additions & 0 deletions httpcat/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
httpcat 获取 http 状态码图片

### 100

,httpcat 100

![](https://http.cat/100)
1 change: 1 addition & 0 deletions icp/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
icp 查询域名是否已备案
1 change: 1 addition & 0 deletions ip/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ip 查询 ip 归属地
1 change: 1 addition & 0 deletions jikipedia/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
jikipedia 小鸡词典,梗查询
2 changes: 2 additions & 0 deletions keyword/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
关键词回复。
指令:,keyword
14 changes: 7 additions & 7 deletions list.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
},
{
"name": "weather",
"version": "1.1320000000000001",
"version": "1.133",
"section": "daily",
"maintainer": "xtaodada",
"size": "3.1 kb",
Expand Down Expand Up @@ -222,7 +222,7 @@
},
{
"name": "sticker",
"version": "0.11999999999999998",
"version": "0.12",
"section": "chat",
"maintainer": "xtaodada",
"size": "4.94 kb",
Expand All @@ -232,7 +232,7 @@
},
{
"name": "yvlu",
"version": "1.2611",
"version": "1.27",
"section": "chat",
"maintainer": "xtaodada, xiluo",
"size": "10.0 kb",
Expand Down Expand Up @@ -458,7 +458,7 @@
"size": "2.49 kb",
"supported": true,
"des-short": "Play a game of 1A2B",
"des": "Play a game of 1A2B, command:,1a2b"
"des": "Play a game of 1A2B, command:,1a2b\n\n# 例如\n\n,1a2b start\n\n,1a2b 1234\n\n,1a2b 5678\n\n..."
},
{
"name": "listusernames",
Expand Down Expand Up @@ -674,7 +674,7 @@
"name": "icp",
"version": "1.01",
"section": "chat",
"maintainer": "sourcery-ai[bot]",
"maintainer": "Ricky8955555",

This comment has been minimized.

Copy link
@ricky8955555

ricky8955555 Mar 26, 2023

Contributor

根据 #65,这里的 maintainer 应该是 M1saka10010

"size": "3.258 kb",
"supported": true,
"des-short": "icp 查询域名是否已备案",
Expand Down Expand Up @@ -728,7 +728,7 @@
"size": "0.927 kb",
"supported": true,
"des-short": "httpcat 获取 http 状态码图片",
"des": "httpcat 获取 http 状态码图片"
"des": "httpcat 获取 http 状态码图片\n\n### 100\n\n,httpcat 100\n\n![](https://http.cat/100)"
},
{
"name": "set_status",
Expand Down Expand Up @@ -904,7 +904,7 @@
"name": "yinglish",
"version": "1.0",
"section": "chat",
"maintainer": "sourcery-ai[bot]",
"maintainer": "yidaozhanyaqwq",
"size": "1.368 kb",
"supported": true,
"des-short": "yinglish 能把中文和英文翻译成淫语的翻译机!",
Expand Down
1 change: 1 addition & 0 deletions listusernames/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
列出所有属于自己的公开群组/频道。命令:,listusernames
2 changes: 2 additions & 0 deletions lottery/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
举行单群抽奖活动。
指令:,lottery
1 change: 1 addition & 0 deletions luxiaoxunbs/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
luxiaoxunbs 鲁小迅整点报时
1 change: 1 addition & 0 deletions moyu/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
支持群订阅
2 changes: 2 additions & 0 deletions netease/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
网易云音乐。
指令:,netease
2 changes: 2 additions & 0 deletions netease_comment/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
随机一条网易云音乐评论。
指令:,netease_comment
2 changes: 2 additions & 0 deletions news/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
每日新闻、历史上的今天、天天成语、慧语香风、诗歌天地。
指令:,news
1 change: 1 addition & 0 deletions news60s/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
news60s 60s 看世界新闻
1 change: 1 addition & 0 deletions no_mentions/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
no_mentions 自动消除某个对话的 @ 提醒
1 change: 1 addition & 0 deletions no_reactions/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
no_reactions 自动已读某个对话的消息表情表态
3 changes: 3 additions & 0 deletions openaichat/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
openaichat 使用 OpenAI Chat 聊天
基于 text-davinci-003 模型,与 ChatGPT 的效果有些许不同
代码参考了原先的 ChatGPT 插件
1 change: 1 addition & 0 deletions paolu/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
paolu ⚠一键跑路 删除群内消息并禁言⚠
1 change: 1 addition & 0 deletions pfp/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pfp 快速设置头像
1 change: 1 addition & 0 deletions pic_to_sticker/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pic_to_sticker 将你回复的图片转换为贴纸
1 change: 1 addition & 0 deletions pixiv/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
提供 Pixiv 相关服务
1 change: 1 addition & 0 deletions pmcaptcha/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
私聊人机验证,助您远离广告烦恼
2 changes: 2 additions & 0 deletions portball/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
回复你要临时禁言的人的消息来实现XX秒的禁言。
指令:,portball [理由]|<时间/秒>
1 change: 1 addition & 0 deletions premium/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
列出本群premium用户数量(指令: ,premium)
1 change: 1 addition & 0 deletions print_official_notifications/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
print_official_notifications 将收到的官方私聊打印到控制台
1 change: 1 addition & 0 deletions pypi/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pypi Search PyPI packages
1 change: 1 addition & 0 deletions qr/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
qr 二维码相关操作
1 change: 1 addition & 0 deletions rate/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rate 货币汇率查询
1 change: 1 addition & 0 deletions resou/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
命令:wbrs,zhrs,dyrs。
2 changes: 2 additions & 0 deletions sb/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
在自己拥有管理员权限的共同群组中封禁一位用户。
指令:,sb
2 changes: 2 additions & 0 deletions sendat/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
定时发送消息。
指令:,sendat
2 changes: 2 additions & 0 deletions session/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
注销/查询已登录的会话。
指令:,session
1 change: 1 addition & 0 deletions set_status/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
set_status 快速设置大会员自定义 emoji 状态
3 changes: 3 additions & 0 deletions shift/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
自动转发频道新消息或者从零开始备份频道。
指令:,shift
查看帮助:,help shift
1 change: 1 addition & 0 deletions silly_girl/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
傻妞插件,用户可以通过此插件召唤傻妞,Repo:https://github.com/cdle/sillyGirl
2 changes: 2 additions & 0 deletions speed_test/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
测速。
指令:,speedtest
1 change: 1 addition & 0 deletions sticker/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Sticker Tools
1 change: 1 addition & 0 deletions sticker_to_pic/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sticker_to_pic 将你回复的静态贴纸转换为图片
2 changes: 2 additions & 0 deletions sticker_transfer/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
贴纸迁移。
指令:,sticker_transfer
1 change: 1 addition & 0 deletions tel/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
查询电话号码归属地,号码段,卡类型,运营商及通信标准。命令:tel。
1 change: 1 addition & 0 deletions teletype/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Teletype (#62)
2 changes: 2 additions & 0 deletions tgbg/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
解析 Telegram 聊天窗口背景图。
指令:,tgbg
1 change: 1 addition & 0 deletions unban/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
解除封禁一位用户。指令:,unban
1 change: 1 addition & 0 deletions unixtime/DES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
unixtime Unix时间戳转换
17 changes: 17 additions & 0 deletions update_des.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import json
import os


def update_des():
with open("list.json", "r", encoding="utf8") as f:
list_json = json.load(f)
for plugin in list_json["list"]:
if os.path.exists(f"{plugin['name']}{os.sep}DES.md"):
with open(f"{plugin['name']}{os.sep}DES.md", "r", encoding="utf8") as f:
plugin["des"] = f.read().strip()
with open("list.json", "w", encoding="utf8") as f:
json.dump(list_json, f, ensure_ascii=False, indent=4)


if __name__ == "__main__":
update_des()
Loading

0 comments on commit 5ac6b81

Please sign in to comment.