Giter Club home page Giter Club logo

mc-wiki's Introduction

MC-Wiki

一款可以查询mcwiki的Yunzai-bot插件

介绍

一款可以用来查询mcwiki的Yunzai-bot插件,适配Yunzai V3

安装教程

下载此插件,并把它放入./plugins/example目录下

提示

本仓库插件已更新wiki地址为中文MC Wiki新站(https://zh.minecraft.wiki)

国内两个镜像站(Bwiki和Netease)已关闭,Fandom上的Minecraft Wiki 也已经弃用,请大家使用新站。

以下为插件原readme


MC-Wiki

一款可以查询mcwiki的Yunzai-bot插件

介绍

一款可以用来查询mcwiki的Yunzai-bot插件,适配Yunzai V3

安装教程

下载此插件,并把它放入./plugins/example目录下

注意事项

本插件使用的wiki是bilibili的镜像站,是为了保证国内的访问速度,如果你有其他更好的选择,修改代码中

let url = `https://wiki.biligame.com/mc/${encodeQuery}`

https://wiki.biligame.com/mc/

可以更改查询的网站

由于会的还不是很多,所以检查查询的错误结果的方法是检测网页的height值,不改变width的话是可以用的

使用说明

使用命令“#wiki”后面跟着想要查询的mc物品即可查询,如果非mc物品或者输入错误会提示查询不到

ToDo

增加使用聊天指令切换镜像站的功能,例如"#wiki设置[1-4]",来切换fandom wiki,中文wiki,哔哩镜像wiki,官方wiki,以及使用检测网页内的元素,来判断搜索是否有结果

mc-wiki's People

Contributors

walkersifolia avatar midnight-2004 avatar

Stargazers

 avatar

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.