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 求解 yolo算法问题
  • ¥15 虚拟机打包apk出现错误
  • ¥30 最小化遗憾贪心算法上界
  • ¥15 用visual studi code完成html页面
  • ¥15 聚类分析或者python进行数据分析
  • ¥15 三菱伺服电机按启动按钮有使能但不动作
  • ¥15 js,页面2返回页面1时定位进入的设备
  • ¥50 导入文件到网吧的电脑并且在重启之后不会被恢复
  • ¥15 (希望可以解决问题)ma和mb文件无法正常打开,打开后是空白,但是有正常内存占用,但可以在打开Maya应用程序后打开场景ma和mb格式。
  • ¥20 ML307A在使用AT命令连接EMQX平台的MQTT时被拒绝