infnan / lilywhitebot Goto Github PK
View Code? Open in Web Editor NEWThis project forked from mrhso/lilywhitebot
在Telegram、IRC、Discord等聊天群之间传话的互联机器人(可使用Docker部署)
License: GNU Affero General Public License v3.0
This project forked from mrhso/lilywhitebot
在Telegram、IRC、Discord等聊天群之间传话的互联机器人(可使用Docker部署)
License: GNU Affero General Public License v3.0
正常部署:
ircbot可以正常注册并且加入到channel
使用now部署
12:46:49.406
Retrieving list of deployment files...
12:46:49.586
Downloading 49 deployment files...
12:46:51.717
Installing build runtime...
12:46:52.098
Build runtime installed: 380.494ms
12:46:52.432
Looking up build cache...
12:46:52.533
Build cache found. Downloading...
12:46:52.931
Build cache downloaded [14.51 MB]: 397.038ms
12:46:53.270
Installing dependencies...
12:46:54.486
up to date in 0.82s
12:46:54.546
2 packages are looking for funding
12:46:54.546
run `npm fund` for details
12:46:54.902
> [email protected] build /zeit/6db81c56
12:46:54.902
> npm install
12:46:56.324
audited 419 packages in 1.034s
12:46:56.389
2 packages are looking for funding
12:46:56.389
run `npm fund` for details
12:46:56.389
found 1 moderate severity vulnerability
12:46:56.389
run `npm audit fix` to fix them, or `npm audit` for details
12:46:56.582
> [email protected] start /zeit/6db81c56
12:46:56.582
> node index.js
12:46:56.701
2020-05-10 04:46:56 [�[32mINFO�[39m] LilyWhiteBot: Multi-platform message transport bot.
12:46:56.702
2020-05-10 04:46:56 [�[32mINFO�[39m] Version: 1.5.0
12:46:56.702
2020-05-10 04:46:56 [�[32mINFO�[39m]
12:46:56.702
2020-05-10 04:46:56 [�[32mINFO�[39m] Enabled clients: IRC, Telegram
12:46:56.702
2020-05-10 04:46:56 [�[32mINFO�[39m] Starting IRC bot...
12:46:56.736
2020-05-10 04:46:56 [�[32mINFO�[39m] IRC bot has started.
12:46:56.736
2020-05-10 04:46:56 [�[32mINFO�[39m] Starting Telegram bot...
12:46:56.753
2020-05-10 04:46:56 [�[32mINFO�[39m] Telegram bot has started.
12:46:56.753
2020-05-10 04:46:56 [�[32mINFO�[39m]
12:46:56.753
2020-05-10 04:46:56 [�[32mINFO�[39m] Loading plugins...
12:46:56.753
2020-05-10 04:46:56 [�[32mINFO�[39m] Loading plugin: transport
12:46:56.866
2020-05-10 04:46:56 [�[32mINFO�[39m] Loading plugin: groupid-tg
12:46:56.867
2020-05-10 04:46:56 [�[32mINFO�[39m] Loading plugin: ircquery
12:46:56.867
2020-05-10 04:46:56 [�[32mINFO�[39m] Loading plugin: irccommand
12:46:56.868
2020-05-10 04:46:56 [�[32mINFO�[39m] Loading plugin: pia
会卡在这里,tgbot好像没有问题,启动两个tgbot这里会出现提示,求大佬帮忙看一下now部署时候ircbot为什么不能正常使用
{
"name": "lilywhitebot",
"version": "1.5.0",
"description": "多聊天群互联机器人(目前支持 QQ、Telegram、IRC、Discord)",
"repository": "github:infnan/LilyWhiteBot",
"license": "AGPL-3.0-or-later",
"bugs": {
"url": "https://github.com/infnan/LilyWhiteBot/issues"
},
"dependencies": {
"cqhttp": "^1.2.0",
"discord.js": "^12.0.1",
"irc-colors": "~1.5.0",
"irc-upd": "~0.10.0",
"ishisashiencoding": "^0.4.0",
"js-yaml": "^3.13.1",
"lru-cache": "^5.1.1",
"request": "~2.88.2",
"sharp": "^0.25.2",
"string-format": "^2.0.0",
"telegraf": "^3.38.0",
"wechat4u": "^0.7.7",
"winston": "^3.2.1"
},
"engines": {
"node": ">=12.0.0"
},
"scripts": {
"build": "npm install",
"start": "node index.js",
"install-start": "npm install && node main.js"
}
}
discord消息可转发到qq,但是qq消息发不到discord,discord机器人权限也给足了
目前已知问题:
由于QQ消息量过大时会封号,可考虑一次性关联多个QQ号,消息量太大时由这些QQ号轮流发言,实现负载均衡
既然写代码的人都不是港澳台的,那么不要装逼,而且繁体字和**用词理解起来也费劲。
{'raw_message': '[CQ:image,file=ACB7C4CFF4C9B861801FF5F40261E70C.gif]', 'message_id': 5256, 'post_type': 'message', 'message_type': 'group', 'time': 1589 103120, 'user_id': xxx, 'anonymous': None, 'font': 10057432, 'group_id': xxx, 'sub_type': 'normal', 'sender': {'age': 0, 'area': '瑞典', 'nic kname': 'S', 'role': 'owner', 'title': '', 'card': '', 'user_id': xxx, 'sex': 'unknown', 'level': 'py群员'}, 'message': '[CQ:image,file=A CB7C4CFF4C9B861801FF5F40261E70C.gif,url=https://gchat.qpic.cn/gchatpic_new/568093910/2150958474-3199814203-ACB7C4CFF4C9B861801FF5F40261E70C/0?term=2]', ' self_id': 212521306}
检查和完善各模块的日志,以便后续诊断问题
现在miral还可以用
但应该是暂时的 Archived了 库也没了
https://gitee.com/frg2089/mirai 这里有个镜像?
RT
需要先解决 #2
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.