Giter Club home page Giter Club logo

danmaqua-telegrambot's People

Contributors

dependabot[bot] avatar fython avatar wordlessecho avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

danmaqua-telegrambot's Issues

[Feature] 定时切换房间任务

需求场景

播主在其他直播间进行联动配信时来回切换监听比较麻烦

实现思路

在 Chat Config 中新增计划任务列表,以 crontab 格式和 JSON 格式保存计划任务的时间和操作类型,到了指定时刻执行操作。

【2.x】danmaqua-telegrambot 重构计划

T1 问题

  • 和 Telegram API 或弹幕 API 断开连接后没有反馈,不会自动重连
  • Bot 设置交互很差,需要一些类 GUI

T2 问题

  • 播主在其他直播间进行联动配信时来回切换监听比较麻烦
  • Telegram Bot 发送消息频率限制
  • 需要开放其他弹幕 API 支持,允许用户监听除 Bilibili 以外的直播平台,如斗鱼

长时间未发消息后无法连接Telegram

日志:

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

defaultAdmins 一项如何设置

比如我的用户ID是123456,config.js中是
defaultAdmins: [123456],
设置机器人时依然显示无相应权限。用不同的账号试了一下,还是不可以。

[Enhancement] 频道配置文件名可读性

现在的文件名格式 [chatId].json,不太好区分,期望读特定目录下的所有 json 文件,然后获取 json 数据内的 ChatId 字段。
默认获取频道名第一次绑定时的 username。

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.