Skip to content

Commit

Permalink
feat: add more callback type and querytool
Browse files Browse the repository at this point in the history
  • Loading branch information
BIYUEHU committed Oct 29, 2023
1 parent 9fed3df commit 952d6fc
Show file tree
Hide file tree
Showing 13 changed files with 544 additions and 13 deletions.
44 changes: 44 additions & 0 deletions modules/querytool/locales/en_US.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"querytool.help.github": "Query Github repository info",
"querytool.msg.github.info": "URL: %name%\nDescription: %description%\nLanguage: %language%\nOwner: %author%\nCreated: %create%\nLast updated: %update%\nLast push: %push%\nOpen source license: %license%",
"querytool.msg.github.image": "%image%",
"querytool.msg.github.fail": "Repository not found: %input%",
"querytool.help.motd": "MCJE server info query",
"querytool.msg.motd.info": "Status: Online\nIP: %real%\nPort: %port%\nPhysical address: %location%\nMOTD: %motd%\nProtocol version: %agreement%\nGame version: %version%\nOnline players: %online% / %max%\nLatency: %ping%ms\nIcon: %image%",
"querytool.msg.motd.fail": "Status: Offline\nIP: %ip%\nPort: %port%",
"querytool.help.motdbe": "MCBE server info query",
"querytool.msg.motdbe.info": "Status: Online\nIP: %real%\nPort: %port%\nPhysical address: %location%\nMOTD: %motd%\nGame mode: %gamemode%\nProtocol version: %agreement%\nGame version: %version%\nOnline players: %online% / %max%\nLatency: %delay%ms",
"querytool.msg.motdbe.fail": "Status: Offline\nIP: %ip%\nPort: %port%",
"querytool.help.mcskin": "MC legit account skin query",
"querytool.msg.mcskin.info": "Player: %input%\nSkin: %skin%\nCape: %cape%\nHead: %avatar%",
"querytool.msg.mcskin.fail": "%input% player not found!",
"querytool.help.mcv": "Query Minecraft version info",
"querytool.msg.mcv.info": "Minecraft Java:\nLatest release: %release%\nRelease date: %releaseDate%\nLatest snapshot: %snapshot%\nRelease date: %snapshotDate%\nMinecraft Bedrock:\nLatest version: %mcbe%\nRelease date: %mcbeDate%",
"querytool.help.sed": "Social engineering info query",
"querytool.msg.sed.info": "Query: %input%\nTime: %time% seconds\nRecords found: %count%%list%",
"querytool.msg.sed.list": "\n%key%: %content%",
"querytool.msg.sed.key.qq": "QQ",
"querytool.msg.sed.key.phone": "Phone number",
"querytool.msg.sed.key.location": "Carrier",
"querytool.msg.sed.key.id": "LOL ID",
"querytool.msg.sed.key.area": "LOL area",
"querytool.msg.sed.fail": "No records found for: %input%",
"querytool.help.idcard": "ID card info query",
"querytool.msg.idcard.info": "ID Number: %input%\nGender: %gender%\nBirth Date: %birthday%\nAge: %age%\nProvince: %province%\nAddress: %address%\nZodiac Sign: %starsign%",
"querytool.msg.idcard.fail": "ID card error: %input%",
"querytool.help.hcb": "Weiyi Yun blacklist query",
"querytool.msg.hcb.info": "%input% has a cloud blacklist record\nUUID: %uuid%\nUser Platform: %plate%\nUser ID: %idkey%\nRecord Description: %descr%\nRecord Level: %level%\nRecord Time: %date%\nRelated Images: %images%",
"querytool.msg.hcb.fail": "%input% has no cloud blacklist record",
"querytool.help.uuid": "Get a uuid",
"querytool.msg.uuid.info": "UUID~: %uuid%",
"querytool.help.color": "Get a random color",
"querytool.msg.color.info": "Hex: %hex%\nRgb: %rgb%\nHsl: %hsl%\n%image%",
"querytool.help.ping": "Website ping",
"querytool.help.header": "Get website icon and title",
"querytool.msg.header.info": "Website: %input%\nTitle: %title%\nKeywords: %keywords%\nDescription: %description%",
"querytool.msg.header.image": "Icon: %image%",
"querytool.help.state": "Website status query",
"querytool.msg.state.info": "%content%",
"querytool.help.speed": "Website speed test",
"querytool.msg.speed.info": "%content%"
}
44 changes: 44 additions & 0 deletions modules/querytool/locales/ja_JP.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"querytool.help.github": "Githubリポジトリ情報を検索",
"querytool.msg.github.info": "アドレス: %name%\n説明: %description%\n言語: %language%\n所有者: %author%\n作成日時: %create%\n最終更新日時: %update%\n最終プッシュ日時: %push%\nオープンソースライセンス: %license%",
"querytool.msg.github.image": "%image%",
"querytool.msg.github.fail": "リポジトリが見つかりません: %input%",
"querytool.help.motd": "MCJEサーバー情報検索",
"querytool.msg.motd.info": "ステータス: オンライン\nIP: %real%\nポート: %port%\n物理アドレス: %location%\nMOTD: %motd%\nプロトコルバージョン: %agreement%\nゲームバージョン: %version%\nオンラインプレイヤー数: %online% / %max%\nレイテンシ: %ping%ms\nアイコン: %image%",
"querytool.msg.motd.fail": "ステータス: オフライン\nIP: %ip%\nポート: %port%",
"querytool.help.motdbe": "MCBEサーバー情報検索",
"querytool.msg.motdbe.info": "ステータス: オンライン\nIP: %real%\nポート: %port%\n物理アドレス: %location%\nMOTD: %motd%\nゲームモード: %gamemode%\nプロトコルバージョン: %agreement%\nゲームバージョン: %version%\nオンラインプレイヤー数: %online% / %max%\nレイテンシ: %delay%ms",
"querytool.msg.motdbe.fail": "ステータス: オフライン\nIP: %ip%\nポート: %port%",
"querytool.help.mcskin": "MC正規アカウントスキン検索",
"querytool.msg.mcskin.info": "プレイヤー: %input%\nスキン: %skin%\nマント: %cape%\n頭: %avatar%",
"querytool.msg.mcskin.fail": "%input% というプレイヤーはいません!",
"querytool.help.mcv": "Minecraftのバージョン情報を問い合わせる",
"querytool.msg.mcv.info": "Minecraft Java:\n最新リリース: %release%\nリリース日: %releaseDate%\n最新スナップショット: %snapshot%\nリリース日: %snapshotDate%\nMinecraft Bedrock:\n最新バージョン: %mcbe%\nリリース日: %mcbeDate%",
"querytool.help.sed": "ソーシャルエンジニアリング情報検索",
"querytool.msg.sed.info": "検索内容: %input%\n処理時間: %time%秒\n結果数: %count%%list%",
"querytool.msg.sed.list": "\n%key%: %content%",
"querytool.msg.sed.key.qq": "QQ",
"querytool.msg.sed.key.phone": "電話番号",
"querytool.msg.sed.key.location": "キャリア",
"querytool.msg.sed.key.id": "LOL ID",
"querytool.msg.sed.key.area": "LOLエリア",
"querytool.msg.sed.fail": "関連する記録が見つかりません: %input%",
"querytool.help.idcard": "身分証情報検索",
"querytool.msg.idcard.info": "ID番号: %input%\n性別: %gender%\n生年月日: %birthday%\n年齢: %age%\n都道府県: %province%\n住所: %address%\n星座: %starsign%",
"querytool.msg.idcard.fail": "ID番号が誤っています: %input%",
"querytool.help.hcb": "韦一雲ブラックリスト検索",
"querytool.msg.hcb.info": "%input%はブラックリストに登録されています\nUUID: %uuid%\nプラットフォーム: %plate%\nユーザーID: %idkey%\n理由: %descr%\nレベル: %level%\n登録日時: %date%\n関連画像: %images%",
"querytool.msg.hcb.fail": "%input%はブラックリストに登録されていません",
"querytool.help.uuid": "UUIDを取得する",
"querytool.msg.uuid.info": "UUID~: %uuid%",
"querytool.help.color": "カラーをランダムに取得",
"querytool.msg.color.info": "Hex: %hex%\nRgb: %rgb%\nHsl: %hsl%\n%image%",
"querytool.help.ping": "サイトのPING検索",
"querytool.help.header": "サイトのアイコンとタイトルを取得",
"querytool.msg.header.info": "サイト: %input%\nタイトル: %title%\nキーワード: %keywords%\n説明: %description%",
"querytool.msg.header.image": "アイコン: %image%",
"querytool.help.state": "サイトステータス検索",
"querytool.msg.state.info": "%content%",
"querytool.help.speed": "サイトスピードテスト",
"querytool.msg.speed.info": "%content%"
}
43 changes: 43 additions & 0 deletions modules/querytool/locales/zh_CN.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"querytool.help.github": "查询Github仓库信息",
"querytool.msg.github.info": "地址: %name%\n描述: %description%\n语言: %language%\n所有者: %author%\n创建时间:\n %create%\n最后更新时间: %update%\n最后推送时间: %push%\n开源协议: %license%",
"querytool.msg.github.image": "%image%",
"querytool.msg.github.fail": "未找到仓库: %input%",
"querytool.help.motd": "MCJE服务器信息查询",
"querytool.msg.motd.info": "状态: 在线\nIP: %real%\n端口: %port%\n物理地址: %location%\nMOTD: %motd%\n协议版本: %agreement%\n游戏版本: %version%\n在线人数: %online% / %max%\n延迟: %ping%ms\n图标: %image%",
"querytool.msg.motd.fail": "状态: 离线\nIP: %ip%\n端口: %port%",
"querytool.help.motdbe": "MCBE服务器信息查询",
"querytool.msg.motdbe.info": "状态: 在线\nIP: %real%\n端口: %port%\n物理地址: %location%\nMOTD: %motd%\n游戏模式: %gamemode%\n协议版本: %agreement%\n游戏版本: %version%\n在线人数: %online% / %max%\n延迟: %delay%ms",
"querytool.msg.motdbe.fail": "状态: 离线\nIP: %ip%\n端口: %port%",
"querytool.help.mcskin": "MC正版账号皮肤查询",
"querytool.msg.mcskin.info": "玩家: %input%\n皮肤: %skin%\n披风: %cape%\n头颅: %avatar%",
"querytool.msg.mcskin.fail": "%input%查无此人!",
"querytool.help.mcv": "查询Minecraft版本信息",
"querytool.msg.mcv.info": "MinecraftJava:\n最新版: %release%\n发布时间: %releaseDate%\n最新快照: %snapshot%\n发布时间: %snapshotDate%\nMinecraftBedrock:\n最新版: %mcbe%\n发布时间: %mcbeDate%",
"querytool.help.sed": "社工信息查询",
"querytool.msg.sed.info": "查询内容: %input%\n消耗时间: %time%秒\n记录数量: %count%%list%",
"querytool.msg.sed.list": "\n%key%: %content%",
"querytool.msg.sed.key.qq": "QQ",
"querytool.msg.sed.key.phone": "手机号",
"querytool.msg.sed.key.location": "运营商",
"querytool.msg.sed.key.id": "LOLID",
"querytool.msg.sed.key.area": "LOL区域",
"querytool.msg.sed.fail": "未查询到相关记录: %input%",
"querytool.help.idcard": "身份证信息查询",
"querytool.msg.idcard.info": "身份证号: %input%\n性别: %gender%\n出生日期: %birthday%\n年龄: %age%\n省份: %province%\n地址: %address%\n星座: %starsign%",
"querytool.msg.idcard.fail": "身份证错误: %input%",
"querytool.help.hcb": "韦一云黑信息查询",
"querytool.msg.hcb.info": "%input%有云黑记录\nUUID: %uuid%\n用户平台: %plate%\n用户ID: %idkey%\n记录描述: %descr%\n记录等级: %level%\n记录时间: %date%\n相关图片: %images%",
"querytool.msg.hcb.fail": "%input%无云黑记录",
"querytool.help.uuid": "获取一条UUID",
"querytool.msg.uuid.info": "UUID~: %uuid%",
"querytool.help.color": "随机获取一种颜色",
"querytool.msg.color.info": "Hex: %hex%\nRgb: %rgb%\nHsl: %hsl%\n%image%",
"querytool.help.ping": "网站PING",
"querytool.msg.header.info": "网站: %input%\n标题: %title%\n关键词: %keywords%\n描述: %description%",
"querytool.msg.header.image": "图标: %image%",
"querytool.help.state": "网站状态查询",
"querytool.msg.state.info": "%content%",
"querytool.help.speed": "网站速度测试",
"querytool.msg.speed.info": "%content%"
}
44 changes: 44 additions & 0 deletions modules/querytool/locales/zh_TW.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"querytool.help.github": "查詢Github倉庫信息",
"querytool.msg.github.info": "地址: %name%\n描述: %description%\n語言: %language%\n所有者: %author%\n創建時間:\n %create%\n最後更新時間: %update%\n最後推送時間: %push%\n開源協議: %license%",
"querytool.msg.github.image": "%image%",
"querytool.msg.github.fail": "未找到倉庫: %input%",
"querytool.help.motd": "MCJE服務器信息查詢",
"querytool.msg.motd.info": "狀態: 在線\nIP: %real%\n端口: %port%\n物理地址: %location%\nMOTD: %motd%\n協議版本: %agreement%\n遊戲版本: %version%\n在線人數: %online% / %max%\n延遲: %ping%ms\n圖標: %image%",
"querytool.msg.motd.fail": "狀態: 離線\nIP: %ip%\n端口: %port%",
"querytool.help.motdbe": "MCBE服務器信息查詢",
"querytool.msg.motdbe.info": "狀態: 在線\nIP: %real%\n端口: %port%\n物理地址: %location%\nMOTD: %motd%\n遊戲模式: %gamemode%\n協議版本: %agreement%\n遊戲版本: %version%\n在線人數: %online% / %max%\n延遲: %delay%ms",
"querytool.msg.motdbe.fail": "狀態: 離線\nIP: %ip%\n端口: %port%",
"querytool.help.mcskin": "MC正版賬號皮膚查詢",
"querytool.msg.mcskin.info": "玩家: %input%\n皮膚: %skin%\n披風: %cape%\n頭顱: %avatar%",
"querytool.msg.mcskin.fail": "%input%查無此人!",
"querytool.help.mcv": "查詢Minecraft版本信息",
"querytool.msg.mcv.info": "MinecraftJava:\n最新版: %release%\n發布時間: %releaseDate%\n最新快照: %snapshot%\n發布時間: %snapshotDate%\nMinecraftBedrock:\n最新版: %mcbe%\n發布時間: %mcbeDate%",
"querytool.help.sed": "社工信息查詢",
"querytool.msg.sed.info": "查詢內容: %input%\n消耗時間: %time%秒\n記錄數量: %count%%list%",
"querytool.msg.sed.list": "\n%key%: %content%",
"querytool.msg.sed.key.qq": "QQ",
"querytool.msg.sed.key.phone": "手機號",
"querytool.msg.sed.key.location": "運營商",
"querytool.msg.sed.key.id": "LOLID",
"querytool.msg.sed.key.area": "LOL區域",
"querytool.msg.sed.fail": "未查詢到相關記錄: %input%",
"querytool.help.idcard": "身份證信息查詢",
"querytool.msg.idcard.info": "身份證號: %input%\n性別: %gender%\n出生日期: %birthday%\n年齡: %age%\n省份: %province%\n地址: %address%\n星座: %starsign%",
"querytool.msg.idcard.fail": "身份證錯誤: %input%",
"querytool.help.hcb": "韋一雲黑信息查詢",
"querytool.msg.hcb.info": "%input%有雲黑記錄\nUUID: %uuid%\n用戶平臺: %plate%\n用戶ID: %idkey%\n記錄描述: %descr%\n記錄等級: %level%\n記錄時間: %date%\n相關圖片: %images%",
"querytool.msg.hcb.fail": "%input%無雲黑記錄",
"querytool.help.uuid": "獲取一條UUID",
"querytool.msg.uuid.info": "UUID~: %uuid%",
"querytool.help.color": "隨機獲取一種顏色",
"querytool.msg.color.info": "Hex: %hex%\nRgb: %rgb%\nHsl: %hsl%\n%image%",
"querytool.help.ping": "網站PING",
"querytool.help.header": "獲取網站圖標與標題",
"querytool.msg.header.info": "網站: %input%\n標題: %title%\n關鍵詞: %keywords%\n描述: %description%",
"querytool.msg.header.image": "圖標: %image%",
"querytool.help.state": "網站狀態查詢",
"querytool.msg.state.info": "%content%",
"querytool.help.speed": "網站速度測試",
"querytool.msg.speed.info": "%content%"
}
11 changes: 11 additions & 0 deletions modules/querytool/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "kotori-plugin-querytool",
"version": "1.0.0",
"description": "querytool plugin",
"main": "src/index.ts",
"license": "GPL-3.0",
"author": "Hotaru <biyuehuya@gmail.com>",
"peerDependencies": {
"kotori-bot": "workspace:^"
}
}

0 comments on commit 952d6fc

Please sign in to comment.