# `Noizu.Comms.Adapters.Discord`
[🔗](https://github.com/noizu-labs-sdks/elixir-comms/blob/main/lib/lib/noizu/comms/adapters/discord.ex#L1)

Discord adapter over `noizu_discord` (optional dep).

* `discord://channel/<snowflake>` — bot token `DISCORD_BOT_TOKEN`,
  `Channels.create_message/4`; `message.thread` overrides the channel id.
* `discord://webhook/<alias>` — webhook URL resolved from the targets
  config (env-var indirection), `Webhooks.execute/3` with `wait: true`.

Level -> embed colour: info 3447003, success 5763719, warning 15105570,
error 15158332. `silent` sets flag 4096 (suppress notifications).

When the SDK is not a dependency the callbacks compile to
`:not_configured` fallbacks, so consumers only pulling in this app never
see undefined-module errors.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
