爱意满满的作品展示区。
kslr

[开源] Telegram AQI 天气质量机器人

  •  1
     
  •   kslr · Feb 12, 2017 · 4528 views
    This topic created in 3551 days ago, the information mentioned may be changed or developed.

    学习 Node.js 之余做了个天气质量机器人,可以添加到群里面,发送 /aqi [city name]即可查询。

    Install

    https://github.com/kslr/telegram-aqi-bot/blob/master/README.md

    Usage

    可搜索用户"@AirPollution_Bot"测试。

    images

    Support

    If you are having problems with telegram-aqi-bot, please raise an issue on github.

    License

    Please see the LICENSE included in this repository for a full copy of the MIT license, which this project is licensed under.

    项目地址

    https://github.com/kslr/telegram-aqi-bot

    Supplement 1  ·  Feb 13, 2017
    现在城市已经支持使用中文/繁体中文/拼音输入。
    13 replies  •  2017-02-18 01:47:32 +08:00
    designer
    designer
    Feb 12, 2017 via iPhone❤️1
    1
    支持一下!
    yeeyeung
    yeeyeung
    Feb 12, 2017
    2
    好用!
    yxjxx
    yxjxx
    Feb 12, 2017
    3
    https://ooo.0o0.ooo/2017/02/12/58a063ce085af.png

    挺赞的。手机上显示有点小问题。
    kslr
    kslr
    OP
    Feb 12, 2017
    4
    @yxjxx #3

    因为用户收到的消息是一张 337X198 的图片,如果显示区域小于这个大小就会变成缩放的状态,并且 Telegram 消息状态中没有设备屏幕宽度的信息,所以恐怕没有办法适配。不过我会持续关注这个问题,争取解决掉。
    EricCartman
    EricCartman
    Feb 12, 2017 via Android
    5
    有一个类似的 @SBisnotBot
    kslr
    kslr
    OP
    Feb 12, 2017
    6
    @EricCartman #5

    嗯咯,可惜没有代码,所以就做了一个 MIT 下发布的。
    GhostFlying
    GhostFlying
    Feb 13, 2017 via Android❤️1
    7
    不错,不过可以把中文自动转拼音?
    kslr
    kslr
    OP
    Feb 13, 2017
    8
    @GhostFlying #7 谢谢反馈,我正在测试一些拼音库。
    kslr
    kslr
    OP
    Feb 13, 2017
    9
    @GhostFlying #7 已经更新了。
    kslr
    kslr
    OP
    Feb 13, 2017
    10
    sunsetwan967
    sunsetwan967
    Feb 15, 2017
    11
    6666
    dongoo
    dongoo
    Feb 18, 2017❤️1
    12
    赞,不过如果是多音字就会有问题哟

    kslr
    kslr
    OP
    Feb 18, 2017
    13
    @dongoo #12 谢谢反馈,多音字的问题已经修复。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5214 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 44ms · UTC 02:19 · PVG 10:19 · LAX 18:19 · JFK 21:19
    ♥ Do have faith in what you're doing.