返回AI问答
Hermes Agent Discord 怎么配置?

Hermes Agent Discord 怎么配置?

AI问答 Admin 140 次浏览

Hermes Agent 接 Discord,适合把 agent 放进服务器频道里长期使用。社区里最近也有人分享了 VPS 上部署并接入 Discord 的经验:先跑通安装和 setup,再配置 gateway,最后指定频道和允许用户。

基础流程

  1. 在 Discord Developer Portal 创建 bot。
  2. 拿到 bot token,并邀请 bot 进服务器。
  3. 运行 hermes gateway setup,选择 Discord。
  4. 配置 DISCORD_ALLOWED_USERSDISCORD_HOME_CHANNEL
  5. 启动 hermes gateway,在频道里测试。

常见卡点

频道不回复时,先查 bot 是否在频道里、权限是否够、是否需要 @、intent 是否开启。定时任务要主动发到 Discord,还要配置 home channel。

一句话:Discord 配置重点是 token、权限、allowed users 和 home channel。

官方开源地址:https://github.com/NousResearch/hermes-agent;官方文档入口:https://hermes-agent.nousresearch.com/

推荐工具

更多