dongshanji3102 2014-09-01 12:04
浏览 92
已采纳

在phabricator bot json配置文件中使用“join”和“notification.channels”字段

I am trying to build a phabricator bot that sends messages to jabber chat members whenever there are new stories in phabricator. I know what the other fields in the bot configuration json file mean. I want to know what the "join" and "notification.channels" field signify. I looked at the documentation but these two fields have not been explained. The default value in the example_config.json are

"join" : [ "#phabot-test" ],
"notification.channels" : ["#phabot-test"]
  • 写回答

1条回答 默认 最新

  • doufang7385 2014-09-02 08:48
    关注

    These settings relate to IRC - Internet Relay Chat. IRC is a chat system that's been around for years. As well as private messaging between users, it also supports chat rooms. On IRC, chat rooms are called channels; you can join and part a channel to enter or leave it. Channel names start with a # sign.

    The join setting is a list of channels to join when the bot starts. The notification.channels is a list of channels where the bot should announce events. Often this will be the same list, as in your example, but you might want the bot to sit quietly in a channel & be available to answer questions.

    There's some more documentation about setting up a Phabricator chat bot in the Phabricator docs.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 有赏,i卡绘世画不出
  • ¥15 如何用stata画出文献中常见的安慰剂检验图
  • ¥15 c语言链表结构体数据插入
  • ¥40 使用MATLAB解答线性代数问题
  • ¥15 COCOS的问题COCOS的问题
  • ¥15 FPGA-SRIO初始化失败
  • ¥15 MapReduce实现倒排索引失败
  • ¥15 ZABBIX6.0L连接数据库报错,如何解决?(操作系统-centos)
  • ¥15 找一位技术过硬的游戏pj程序员
  • ¥15 matlab生成电测深三层曲线模型代码