axbot-dev / axbot Goto Github PK
View Code? Open in Web Editor NEWAXBot是一个在Kook、QQ频道等社交平台上可用的聊天机器人。她具备丰富的交互功能,并专注于为游戏爱好者提供各种游戏相关的服务
Home Page: https://axbot-dev.github.io/axbot-doc/
License: GNU General Public License v3.0
AXBot是一个在Kook、QQ频道等社交平台上可用的聊天机器人。她具备丰富的交互功能,并专注于为游戏爱好者提供各种游戏相关的服务
Home Page: https://axbot-dev.github.io/axbot-doc/
License: GNU General Public License v3.0
介绍下你遇到的错误
后端缺少测试样例,提交代码质量无法保障
重现步骤
后端缺少测试样例,提交代码质量无法保障
预期的行为
建立测试样例,逐步覆盖后端除业务接口外的代码
额外信息
如果可以,建立集成测试样例
你的功能请求是否与一个问题有关?请描述。
需要提供一个高级功能,让玩家和前段时间的数据进行对比,以及玩家和玩家之间对比
描述你想要的解决方案。
描述你考虑过的替代方案。
无
额外的内容
该功能需要收费
针对需要回应的输入,进行输入敏感词校验。
经过研究,可以考虑接入七牛云审核
查询语句
axbot 战雷 查询 Bai_Yang_
频道 6272936518917943
抓住战雷热点,造点梗,但是需要
单例情况下,执行cron任务时偶发错误
failed to get lock, abort reset usage
完善文档部分,提供使用手册,部署文档,开发文档
需要可以重置某个用户的使用状态
api-key应该限制为,只能查看api-key所有者创建的mission
你的功能请求是否与一个问题有关?请描述。
qq机器人已经失效,希望能对接QQ频道机器人
描述你想要的解决方案。
qq机器人已经失效,希望能对接QQ频道机器人
描述你考虑过的替代方案。
qq机器人已经失效,希望能对接QQ频道机器人
额外的内容
qq频道机器人官方支持,同时需要回调域名拥有备案
Tracking issue for:
bot无权限时无法正确提醒用户
execute error: {"code":403,"message":"你没有权限进行此操作","data":{"name":"Forbidden","status":403}}
generate response for user input async error
你的功能请求是否与一个问题有关?请描述。
需要返回文本类型的战绩信息,方便在手机上复制
描述你想要的解决方案。
返回文本类型的战绩信息
描述你考虑过的替代方案。
返回文本类型的战绩信息
额外的内容
你的功能请求是否与一个问题有关?请描述。
查询玩家数据时,时常忘记id
描述你想要的解决方案。
绑定游戏账号到自己的账号中
描述你考虑过的替代方案。
绑定游戏账号到自己的账号中
额外的内容
可能指 README.MD? 而不是 READMD.MD?
显示战雷查询的历史记录
和 #11 类似,在qq中启用该能力
你的功能请求是否与一个问题有关?请描述。
机器人如果发生意想不到的故障,需要能报告故障,并在一些地方查看
描述你想要的解决方案。
机器人如果发生意想不到的故障,需要能报告故障,并在一些地方查看
描述你考虑过的替代方案。
机器人如果发生意想不到的故障,需要能报告故障,并在一些地方查看
额外的内容
在此添加关于该功能请求的任何其他背景或屏幕截图。
介绍下你遇到的错误
查询战雷账号时,出现timeout错误,会导致程序故障
重现步骤
额外信息
INFO:root:missionId is 633b5d2b-6e26-4713-a195-4237c854e448, url is https://warthunder.com/zh/community/userinfo/?nick=yuehua2333, xpath condition is //div[@class="content__title"]
axbot-crawler-1 | Traceback (most recent call last):
axbot-crawler-1 | File "/app/main.py", line 76, in <module>
axbot-crawler-1 | main()
axbot-crawler-1 | File "/app/main.py", line 71, in main
axbot-crawler-1 | channel.start_consuming()
axbot-crawler-1 | File "/usr/local/lib/python3.11/site-packages/pika/adapters/blocking_connection.py", line 1883, in start_consuming
axbot-crawler-1 | self._process_data_events(time_limit=None)
axbot-crawler-1 | File "/usr/local/lib/python3.11/site-packages/pika/adapters/blocking_connection.py", line 2044, in _process_data_events
axbot-crawler-1 | self.connection.process_data_events(time_limit=time_limit)
axbot-crawler-1 | File "/usr/local/lib/python3.11/site-packages/pika/adapters/blocking_connection.py", line 851, in process_data_events
axbot-crawler-1 | self._dispatch_channel_events()
axbot-crawler-1 | File "/usr/local/lib/python3.11/site-packages/pika/adapters/blocking_connection.py", line 567, in _dispatch_channel_events
axbot-crawler-1 | impl_channel._get_cookie()._dispatch_events()
axbot-crawler-1 | File "/usr/local/lib/python3.11/site-packages/pika/adapters/blocking_connection.py", line 1510, in _dispatch_events
axbot-crawler-1 | consumer_info.on_message_callback(self, evt.method,
axbot-crawler-1 | File "/app/main.py", line 53, in callback
axbot-crawler-1 | wait.until(EC.presence_of_element_located((By.XPATH, xpath_condition)))
axbot-crawler-1 | File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/support/wait.py", line 95, in until
axbot-crawler-1 | raise TimeoutException(message, screen, stacktrace)
axbot-crawler-1 | selenium.common.exceptions.TimeoutException: Message:
对接爱发电提供订阅能力
你的功能请求是否与一个问题有关?请描述。
对游戏玩家的恶劣行为设置一个举办的功能
描述你想要的解决方案。
需要支持命令
axbot 战雷 举办 <开挂|TK> <玩家ID>
axbot 战雷 查询 <玩家ID>
时,显示该玩家的举报内容TAG同时需要做到
描述你考虑过的替代方案。
无
额外的内容
无
支持botmarket在线
打印core的请求日志
你的功能请求是否与一个问题有关?请描述。
快捷查询战雷绑定账号
描述你想要的解决方案。
需要若干命令
axbot 战雷 绑定 <ID>
axbot 战雷 解绑
axbot 战雷 查询
因为现在支持中文id了,使用“我”代替可能会有问题,故如果用户绑定了账号,不输入id则为快捷查询axbot 战雷 刷新
描述你考虑过的替代方案。
无
额外的内容
无
下面的命令无法正确查询到用户
axbot 战雷 刷新 理塘 丁真
介绍下你遇到的错误
Pull request不应该出镜像包
重现步骤
重现该行为的步骤:
预期的行为
pr不应该构建镜像包,避免恶意使用或者破坏镜像
战雷新闻播报需要配置要不要 at全体/at在线/at某种角色/不at
介绍下你遇到的错误
axbot.top swagger无法使用
重现步骤
重现该行为的步骤:
预期的行为
可以请求
额外信息
因为网站需要https,而swagger生成的是http,所以需要回退修改的代码,或者找到合适的方式处理
引入定时任务调度器,确保多服务的无状态调用
战绩查询的相关接口均需要受到api-key的限制,避免过度滥用
相关接口暂未完善,需要进一步调整
服务器的创建者应当能够在服务器中对AXBot进行配置
创建的系统用户目前默认为admin管理员用户,应当完成角色的区分
kookclient,请求code业务代码错误时未打印日志
引入otel tracer加强服务内调用链路追踪
记录用户输入情况
你的功能请求是否与一个问题有关?请描述。
需要wiki上的载具数据
描述你想要的解决方案。
扫描战雷官方wiki上的载具数据,需要获取载具资料
描述你考虑过的替代方案。
无
额外的内容
wiki主页 https://wiki.warthunder.com/Main_Page
你的功能请求是否与一个问题有关?请描述。
玩家可以自行上传被传播游戏烂梗
描述你想要的解决方案。
玩家可以上传游戏的烂梗到系统中,并可以随机输出
新增命令
axbot 上传梗 <梗内容>
axbot 来个梗 <梗内容>
描述你考虑过的替代方案。
无
额外的内容
也许需要提供后端界面的能力,但需要考虑计划安排
查看个人当前状态
将机器人的功能接入cqhttp,让机器人在qq上启用
你的功能请求是否与一个问题有关?请描述。
需要一些娱乐类的小功能
描述你想要的解决方案。
新增命令
axbot 抽卡
,抽一张战雷的载具卡描述你考虑过的替代方案。
无
额外的内容
需要基于 #77 提供的载具资料
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.