python - 如何发送命令并让 Errbot 私下回复我?

标签 python errbot

我正在尝试使用 Errbot 创建以下工作流:

!计算 然后 Errbot 私下回复我 number1+number2 的答案。我不确定如何让 Errbot 在私信中回复,有人可以帮忙吗?

谢谢!

最佳答案

最简单的方法是使用配置:

// in config.py
[...]
DIVERT_TO_PRIVATE = ['calculate',]
[...]

关于python - 如何发送命令并让 Errbot 私下回复我?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38103967/

相关文章:

Python Boto3 AWS 分段上传语法

Python 3.5 OpenSSL 错误

python - 你为 Python 使用了哪些重构工具?

python - 如何恢复运行在 docker 容器中的 errbot 的 backup.py 插件数据

python - 格式化从 Errbot 发送的 Slack 消息

python - Errbot:尝试通过命令行界面配置插件时出现 yapsy 错误

Python numpy 无法从模块导入?

python - 如果没有重叠,与 MultiIndex 的内部连接失败

python - peewee IntegrityError : NOT NULL constraint failed: terms.sets_id