danmaqua / danmaqua-telegrambot Goto Github PK
View Code? Open in Web Editor NEW⚓ A Bot for forwarding translation danmaku to Telegram chats
Home Page: https://danmaqua.github.io/bot/userpage.html
License: GNU General Public License v3.0
⚓ A Bot for forwarding translation danmaku to Telegram chats
Home Page: https://danmaqua.github.io/bot/userpage.html
License: GNU General Public License v3.0
显示为昵称的第一个字加三个星号,比如昵称为abcde,显示为a***,并且链接一律显示为https://space.bilibili.com/0#bilibili_0
感觉是新的风控措施
根据 Telegram Bot API 文档 My bot is hitting limits, how do I avoid this? 指出,一个 Bot 每秒不能发出超过 30 条消息,在同一个群组中每分钟不能发出超过 20 条消息。当一个 Bot 管理非常多的弹幕转发频道时将会很容易撞上消息限制。
关注主播的聊天弹幕
播主在其他直播间进行联动配信时来回切换监听比较麻烦
在 Chat Config 中新增计划任务列表,以 crontab 格式和 JSON 格式保存计划任务的时间和操作类型,到了指定时刻执行操作。
给计划任务使用的功能
日志:
Failed to fetch updates. Waiting: 1s request to https://api.telegram.org/<secret>/getUpdates?offset=<secret>&limit=100&timeout=30 failed,
reason: getaddrinfo EAI_AGAIN api.telegram.org
應該說我搭私人Bot就是想要這個功能
比如我的用户ID是123456,config.js中是
defaultAdmins: [123456],
设置机器人时依然显示无相应权限。用不同的账号试了一下,还是不可以。
现在的文件名格式 [chatId].json
,不太好区分,期望读特定目录下的所有 json 文件,然后获取 json 数据内的 ChatId 字段。
默认获取频道名第一次绑定时的 username。
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.