(本部分内容粘贴自Nonebot版本的,经过了修改,功能基本完成,源代码链接:
Nonebot:https://github.com/zhaomaoniu/nonebot-plugin-steam-info;
Koishi:https://github.com/MuxYang/koishi-plugin-steam-info)
请在Nonebot的Github源代码仓库查看用法或者直接发送help steam。
插件名更改为:koishi-plugin-steam-info-check
由于未知原因本插件被认定为危险插件,最近准备核查原因。
这种插件不是koishi早就有了吗
1、因为插件市场源的问题,我在移植插件的时候并没有找到相关的而且我比较喜欢的插件
2、这个插件调用的是pptr渲染图片,所有的游戏状态和nonebot的是相同的(仿steam 客户端的右下角弹窗和好友列表)
3、我当时能找到的插件都不算太好用(个人观点),恰好找到了nonebot的这个插件就拿来改了改
老版本的会被认为是危险的,但是新版的没有(后缀有check的版本)
请您看一下我说的第一点
还有我认为我为了实现我想要的功能去迁移一个插件不会对其他人产生影响;我也遵守了相关的开源协议对插件源码开源了;另外koishi上相似的插件不只有这一个,谢谢
用不了啊 2026-01-17 09:21:08 [E] steam-info TypeError: Cannot read properties of undefined (reading ‘load’)
at Proxy.getUserData (X:\XXX\koishi-app\node_modules\koishi-plugin-steam-info-check\dist\service.js:56:37)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async _Command. (X:\XXX\koishi-app\node_modules\koishi-plugin-steam-info-check\dist\index.js:131:33)
at async Array. (X:\XXX\koishi-app\node_modules@koishijs\core\lib\index.cjs:1079:14)
at async _Command.execute (X:\XXX\koishi-app\node_modules@koishijs\core\lib\index.cjs:1093:22)
at async X:\XXX\Koishi\koishi-app\node_modules@koishijs\core\lib\index.cjs:2049:22
at async Proxy.withScope (X:\XXX\koishi-app\node_modules@koishijs\core\lib\index.cjs:1958:22)
at async next (X:\XXX\koishi-app\node_modules@koishijs\core\lib\index.cjs:827:16)
at async next (X:\XXX\koishi-app\node_modules@koishijs\core\lib\index.cjs:827:16)
at async next (X:\XXX\koishi-app\node_modules@koishijs\core\lib\index.cjs:827:16)
在最新版本中应当修复了本问题。
请确认您填入的各项设置无问题,在群组中正确地绑定了steam账号,更新到最新版本后重试。
steamAPIKey为必填项
不行 最新的1.3.1 key也填了 路由器有科学上网
最新版本是1.3.4
去依赖管理-刷新-火箭-对勾
更新一下再试试
如果还是不行的话把复现步骤发我一下
记得复现的时候把enableIpCheck打开,完整的日志发一下
可以了但是没法获取是不是管理员 开不了那个群报
可以配置一下admin插件给你自己权限或者临时把steam插件下面的权限等级设置改一下
admin的插件权限好像是分离的,也就是1级和2级互不影响
