Skip to content

Commit

Permalink
fix: 默认配置应该留空 (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
eryajf committed Apr 11, 2023
1 parent bf95105 commit 7231d7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

一定要检查这几个地方,而且注意务必加好注释,否则将会影响用户升级体验新功能。

- 关于配置管理还有一个很重要的点在于,`config.example.yml`中的配置务必配置为最大权限,以免出现用户首次部署就无法走到正常逻辑的情况。

- 请务必检查你的提交,是否包含secret,api_key之类的信息,如果要贴示例,注意数据脱敏。

- 如果新增了功能性的模板,则务必在[使用指南](./docs/userGuide.md)中添加对应说明文档。
2 changes: 1 addition & 1 deletion config.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ allow_groups: []
# 群ID,可在群组中 @机器人 群ID 来查看日志获取,例如日志会输出:[🙋 outgoing机器人 在『测试』群的ConversationID为: "cidrabcdefgh1234567890AAAAA"],获取后可填写该参数并重启程序
# 如果不想支持outgoing机器人功能,这里可以随意设置一个内部群组,例如:cidrabcdefgh1234567890AAAAA;或随意一个字符串,例如:disabled
# 建议该功能默认关闭:除非你必须要用到outgoing机器人
allow_outgoing_groups: ["disabled"]
allow_outgoing_groups: []
# 以下 allow_users、deny_users、vip_users、admin_users 配置中填写的是用户的userid,outgoing机器人模式下不适用这些配置
# 比如 ["1301691029702722","1301691029702733"],这个信息需要在钉钉管理后台的通讯录当中获取:https://oa.dingtalk.com/contacts.htm#/contacts
# 哪些用户可以进行对话,如果留空,则表示允许所有用户,如果要限制,则列表中写用户的userid
Expand Down

0 comments on commit 7231d7c

Please sign in to comment.