A bot for the Minesweeper League
app. See \docs
folder or visit here for more details.
Happy fishing ^_^
:fish: A bot for minesweeper league.
Home Page: https://littlefish.tonyxiang.site
License: GNU Affero General Public License v3.0
A bot for the Minesweeper League
app. See \docs
folder or visit here for more details.
Happy fishing ^_^
为了将一部分目前用于群聊的指令推广到私聊,而 universal_id 目前只支持群聊模式,因此代码中的 universal_id 需要进行相应更改。后续将会实现一个 universal_id 相关的类,包含构造 id,序列化与反序列化 id 方法。
随着代码量增多,我觉得是时候对小鱼的功能进行一个分离,以方便其它用户进行相应的编写和调用。
以下是准备进行的改进
将以下模块拆分为独立模块:
将以下模块改为依赖模块:
前后端:
目前乱序复读概率最大值为20%,对于一般的句子来讲过高。
猜bv小游戏:
规则: 猜(一次机会),开格子(多次机会但是同一人不能连续), 猜中者胜
积分: 剩余未打开方格数*100/玩家开格子的次数向下取整
为了使小鱼具备跨平台广播的能力,目前想到的一个方案是:锚点事件
选定一个事件作为广播的锚点,这样可以基于这个事件的响应创建相应的广播。
Poetry is a good tool for virtual environments, so littlefish will use poetry in the future. However, the versioning of nonebot2 is slightly incompatible with poetry's semantic versioning. I will consider using poetry in the future if the problem is resolved.
因为群里面可能出现抽风,图片发不出去的话,很多需要图片的功能都会阻塞掉,现在计划采用一个触发器来专门发送图片,来缓解阻塞的问题。
小鱼实现一个api,接受联萌服务器的记录推送。
该推送拟实现为一个消息队列,根据FIFO的顺序将消息推送至群里。
这个功能其实以前就想写,因为可以根据这些数据库写出很多“奇奇怪怪”的分析功能,但是数据库的生成并非易事。目前的想法是:
首先获得联萌的全部录像数据,根据录像的数据库构建用户的数据库(这个过程是本地进行的),录像数据的起点是(recordID=68),第一次获取的终点是前一天的23:59:59:999包含的所有录像,以后的录像采用增量更新,每天更新一次,这样数据量不会太大。
p.s. 如果使用了录像数据库,与之相关功能的使用肯定会存在不同步的问题。
p.p.s 有更好的想法也可以提在这里。
由于小鱼的上游服务 go-cqhttp 已经可以被迅速检测,且相关备用方案已经全部失效,目前小鱼永久停止服务。
这段期间内,如果有时间,我会对代码进行一些修改和重构,以适应最新的 Onebot 标准和 nonebot2 语法,同时尽量方便代码在多个聊天平台间的迁移工作。
最近小鱼在go-cqhttp端常常出现锁死,为了不频繁访问服务器,建议支持自动重启功能。
功能:在小鱼因为websocket error无法发送消息达到一定次数时,自动重启go-cqhttp端。
现在的搜索功能总是让人觉得不太强,只有一个id查询,以后希望能把查询和排名功能结合起来,做到查某个榜的某一名(其实已经有雏形了),同时也对代码进行一些重构。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.