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

[1024 机器人大作战] bearychat-giphy 搜索并使用 gif

  •  
  •   kslr · Oct 25, 2018 · 1595 views
    This topic created in 2761 days ago, the information mentioned may be changed or developed.

    BearyChat-Giphy

    Giphy 是世界上最大的 GIF 分享网站,通过这个集成,你可以使用 glfy 命令快速搜索和显示。

    PoweredBy_200_Horizontal_Light-Backgrounds_With_Logo.gif

    Screenshot

    2018-10-25 00-04-20.png 2018-10-25 00-03-42.png

    Install

    git clone https://github.com/kslr/bearychat-giphy.git
    cd bearychat-giphy
    
    npm install
        or
    yarn
    
    cp .env.example .env
    (write you token)
    
    

    Outgoing 机器人 https://github.com/bearyinnovative/bearychat-docs/blob/master/tutorials/markdown/outgoing.md

    在我的测试过程中,这个响应超过~2 秒,就会没有任何动作。也没有任何日志实在是个大问题,浪费几个小时追踪。 现在机器放在新加坡 digitalocean,主要时间浪费在 bearychat 发送请求和下载图片上。

    源码 https://github.com/kslr/bearychat-giphy

    5 replies    2018-10-25 10:23:19 +08:00
    kslr
        1
    kslr  
    OP
       Oct 25, 2018
    写到一半不让编辑尴尬了,这个 markdown 能不能在下面加个预览呢
    kslr
        2
    kslr  
    OP
       Oct 25, 2018
    写到一半不让编辑尴尬了,这个 markdown 能不能在下面加个预览呢 @livid
    hlwjia
        3
    hlwjia  
    PRO
       Oct 25, 2018
    markdown 可以预览的呀,

    不过我一般都先在其他地方写好再 paste 过来
    kslr
        4
    kslr  
    OP
       Oct 25, 2018
    @hlwjia 以前我发布后还可以慢慢编辑,这次好像超时了。
    BearyChat
        5
    BearyChat  
       Oct 25, 2018
    第四个唯快不破奖诞生!!!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   893 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 20:19 · PVG 04:19 · LAX 13:19 · JFK 16:19
    ♥ Do have faith in what you're doing.