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

[1024 机器人大作战] 有问题找男人

  •  
  •   wjswxp ·
    hsupu · Oct 28, 2018 · 2047 views
    This topic created in 2756 days ago, the information mentioned may be changed or developed.

    代码仓库地址

    https://github.com/hsupu/bearychat-1024-game-bot/

    描述

    这个标题有点不正确,不过这是 Linux 世界一句经典的话。这里的男人其实是 man(ual) 。

    看了看 bearychat 和 hubot 给的 SDK,竟然没有我大 Java (不服气。 于是对着接口文档用 Java 的 Spring Boot 搓了一个。现在 Outgoing 模式的可用了,Hubot 模式的想到好点子有需求就加上去。

    目前这是一个 Outgoing 模式的 bot,监听前缀是 "man"。你可以通过发 "man 7 unix" 这样的消息来让 bot 将文档内容回复给你。

    当然,只是查 man 没有什么技术含量,代码仓库里其实还有一个纯内存的 todolist (拿来练手用的。

    下一步会试着解析在线文档,或者想到其他点子再改。

    3 replies    2018-10-29 10:22:15 +08:00
    wueizzz
        1
    wueizzz  
       Oct 28, 2018
    (先 star 为敬
    BearyChat
        2
    BearyChat  
       Oct 28, 2018
    赞!记得把机器人添加到团队里给大家玩哈
    run2
        3
    run2  
       Oct 29, 2018   ❤️ 1
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2735 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 15:31 · PVG 23:31 · LAX 08:31 · JFK 11:31
    ♥ Do have faith in what you're doing.