Giter Club home page Giter Club logo

hoshinobottimelineplugin's Introduction

轴管理插件 for HoshinoBot

A HoshinoBot plugin which can input and search PCR timeline by a customized database.

简介

基于 HoshinoBot 开发的轴管理插件,用户可在QQ群中通过机器人录入轴到后台数据库,之后可向机器人发送指令查看已经录入的所有轴。

这个插件存在的意义

不知道为什么最近这个插件好像被传开了,在这里我想说明一下我写这个插件的目的和这个插件存在的意义。

首先,使用腾讯在线文档也可以管理轴。和腾讯在线文档相比,这个插件基本没有实现更多的功能,但也基本没有少实现功能。和腾讯文档管理轴相比,使用这个插件在录入轴(插件也可以直接录入图片)和当录入轴的数量较多时比腾讯文档使用方便,但在查询轴时没有腾讯文档方便。(这个插件并未完全完工,未来可能会支持私聊查轴,也许能弥补这个问题)

但要注意的是,写这个插件最初的目的并不是为了和腾讯文档抢生意(雾),它是自动排刀插件的一个部分。想做机器人自动排刀,首先要输入每个王可以使用的轴(这个插件基本实现了这个功能),然后要输入整个公会的box(见box录入插件),最后再找一个可靠的算法自动排刀(这部分在我实际手动给公会排了几次刀后越来越没有信心做的比较好了,所以暂时咕咕咕了,如果有好的想法欢迎联系我)。

所以,不用把这个单独拎出来的这个插件想的太好,便利程度不一定优于腾讯文档,使用哪个就看各个公会自己取舍了。

功能介绍

详细功能和具体使用方法请在QQ群中发送“帮助pcr轴”查看,主要功能目前有:

  • 录入轴/添加轴/上传轴:通过机器人向后台数据库输入轴
  • 查找轴/查看轴:可以一次性查看所有输入的轴,也可以按不同boss显示对应的所有轴,或者按编号查看某一特定轴
  • 更新轴/修改轴:修改指定的轴,修改者只能是轴的上传者或者管理员
  • 删除轴:删除指定的轴,删除者只能是轴的上传者或者管理员
  • 赞同轴:对指定轴点赞或者点踩,管理员可以单次点任意数量的赞或踩以达到“置顶”指定轴的效果
  • 查看轴库名:查看此群当前使用的数据库名,此指令仅限管理员使用
  • 切换轴库/修改轴库名:切换使用的数据库,此指令仅限管理员使用。使用此指令可以实现不同群共享同一轴库的效果,同一工会的主会和分会可使用此功能

安装方式

  1. clone或者下载此仓库的代码

  2. 将timeline文件夹放入hoshino/modules/文件夹中

  3. 打开hoshino/config/文件夹中的__bot__.py文件,在MODULES_ON中加入一行'timeline',

hoshinobottimelineplugin's People

Contributors

gwyog avatar wosiwq 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.