Metadata-Version: 2.4
Name: amoorion-discord
Version: 0.4.0
Summary: Discord plugin of amoorion: a bot posts, reads and replies in a channel; a channel webhook only posts
Author: Sett Sarverott
Author-email: Sett Sarverott <sett@sarverott.com>
License-Expression: MIT
Requires-Dist: amoorion
Requires-Python: >=3.12
Description-Content-Type: text/markdown

# amoorion-discord

Discord plugins of [amoorion](../../README.md), both ways of decision Q12:

- **`discord`**: a bot posts, reads and replies in one channel, through
  the REST API. Secrets in amoorion's vault: `discord/token` (the bot's
  token, Developer Portal → the application → Bot) and `discord/channel`
  (the channel id: Developer Mode on, right click → Copy Channel ID);
  optional `discord/uri` (default https://discord.com/api/v10). The bot
  needs the permissions View Channel, Send Messages and Read Message
  History in that channel, and the **Message Content** intent switched on
  in the Developer Portal, or it reads messages of others as empty.
- **`discord-webhook`**: posts only, no bot. Secret
  `discord-webhook/url`: the channel's webhook URL (channel settings →
  Integrations → Webhooks).

Both send at most 2000 characters and never ping: mentions like
`@everyone` stay plain text. Live listening through the gateway comes with
the daemon's listeners.
