Noizu.Comms.Adapters.Discord (noizu_comms v0.1.0)

Copy Markdown View Source

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.