Code Monkey home page Code Monkey logo

ddcheck_plugin's Introduction

ddcheck_plugin

成分姬Yunzai-Bot版本,查询B站关注列表的VTuber/游戏官号成分,并统计成文字发出

如果有用的话,请给个star吧~

数据来源

VTB列表数据来源:vtbs.moe

使用方式

更新列表

#更新v列表

查成分

#查成分 UID

注意:首次使用时应该先更新列表,否则本地列表将为空,程序无法对比生成目标成分

部署到云崽

直接部署到 /plugin/example 即可

部署时,请注意控制台载入是否正常,若出现类似“XXX is not defined”的报错,请确认是否安装好对应的依赖

配置

请在js内配置您的b站账号的cookie,否在无法查询对象的粉丝牌情况或使用昵称转uid功能(但依然可以通过uid获取其关注列表)

cookie 获取方式:
登录bilibili后,F12 打开开发工具,查看 www.bilibili.com 的请求头下的cookie内,形如SESSDATA=XXXX;的字段,即为您的b站cookie(理论上只要SESSDATA即可,SESSDATA可能需要经常更新;不要将SESSDATA透露给任何人,该字段包含了您的Bilibili登录令牌,其泄露可能给您的账号带来风险)

您还可以根据需要配置在js内是否开启自动更新列表,自动更新的时间,以及切割发送设置,具体调整方式参考js内注释

示例

其他

感谢

ddcheck_plugin's People

Contributors

ldcivan avatar

Stargazers

Chase Effertz avatar Raylea avatar 去码头整点薯条 avatar  avatar  avatar Yiang Qian avatar Feliciano Long avatar Sodako avatar Tao Xiaobai avatar hydroakri avatar XingSheng1621 avatar Kaiyu Chen avatar  avatar

Watchers

 avatar

ddcheck_plugin's Issues

TypeError: Bot.getGroupMemberInfo is not a function

0|TRSS-Yunzai | [TRSSYz][21:21:27.028][ERRO] [DDchecker][cha_chengfen]
0|TRSS-Yunzai | [TRSSYz][21:21:27.029][ERRO] TypeError: Bot.getGroupMemberInfo is not a function
0|TRSS-Yunzai | at example.makeForwardMsg (file:///D:/bot/YZ/Miao-Yunzai/plugins/example/%E6%9F%A5%E6%88%90%E5%88%86.js?1702300791042:301:28)
0|TRSS-Yunzai | at example.cha_chengfen (file:///D:/bot/YZ/Miao-Yunzai/plugins/example/%E6%9F%A5%E6%88%90%E5%88%86.js?1702300791042:177:37)
0|TRSS-Yunzai | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
0|TRSS-Yunzai | at async PluginsLoader.deal (file:///D:/bot/YZ/Miao-Yunzai/lib/plugins/loader.js:282:52)

TypeError

[YzBot][13:50:34.754][ERRO] [DDchecker][cha_chengfen]
[YzBot][13:50:34.754][ERRO] TypeError: JSON.stringify(...).replaceAll is not a f
unction
    at example.cha_chengfen (file:///D:/Yunzai-Bot/plugins/example/%E6%9F%A5%E6%
88%90%E5%88%86.js:132:87)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async PluginsLoader.deal (file:///D:/Yunzai-Bot/lib/plugins/loader.js:251
:52)

顺带一提搜图插件下也同样存在该问题

[YzBot][13:52:52.459][ERRO] [pic_search][pic_search]
[YzBot][13:52:52.459][ERRO] TypeError: JSON.stringify(...).replaceAll is not a f
unction
    at example.pic_search (file:///D:/Yunzai-Bot/plugins/example/Yunzai_imgSearc
her.js:106:94)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async PluginsLoader.deal (file:///D:/Yunzai-Bot/lib/plugins/loader.js:251
:52)

大佬考虑加个切片嘛

#查成分如果V的列表太长的话会发不出,能否加个切片,目前看到最长的是100条记录,大佬能否加个没100条关注记录一个消息,切片发送

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.