name: discord-platform
label: Discord
kind: platform
version: 1.0.0
description: >
  Discord gateway adapter for Hermes Agent.
  Connects to Discord via the discord.py library and relays messages
  between Discord guilds/DMs and the Hermes agent. Supports voice mode,
  slash commands, free-response channels, role-based DM auth, threads,
  reactions, and channel skill bindings.
author: NousResearch
requires_env:
  - name: DISCORD_BOT_TOKEN
    description: "Discord bot token"
    prompt: "Discord bot token"
    url: "https://discord.com/developers/applications"
    password: true
optional_env:
  - name: DISCORD_ALLOWED_USERS
    description: "Comma-separated Discord user IDs allowed to talk to the bot"
    prompt: "Allowed users (comma-separated)"
    password: false
  - name: DISCORD_ALLOW_ALL_USERS
    description: "Allow any Discord user to trigger the bot (dev only)"
    prompt: "Allow all users? (true/false)"
    password: false
  - name: DISCORD_HOME_CHANNEL
    description: "Default channel ID for cron / notification delivery"
    prompt: "Home channel ID"
    password: false
  - name: DISCORD_HOME_CHANNEL_NAME
    description: "Display name for the Discord home channel"
    prompt: "Home channel display name"
    password: false
