← Back to Plugins
Channels

Reclaw Discord

aint-no-code By aint-no-code 👁 24 views ▲ 0 votes

Discord webhook adapter plugin crate for Reclaw Core, compatible with OpenClaw-style channel ingress.

GitHub

README

# reclaw-discord

Discord webhook adapter plugin crate for [Reclaw Core](https://github.com/aint-no-code/reclaw-core), compatible with OpenClaw-style channel ingress.

## Features

- Registers a `discord` channel webhook adapter into `ChannelWebhookRegistry`
- Verifies bearer token auth via `discord_webhook_token`
- Ingests Discord message events into Reclaw runtime sessions
- Uses config-backed dedupe keys for idempotency (`runtime/discord/event/<message_id>`)
- Optionally relays generated replies to `discord_outbound_url`

## Usage

```rust
use reclaw_core::interfaces::webhooks::ChannelWebhookRegistry;
use reclaw_discord::discord_adapter;

let mut registry = ChannelWebhookRegistry::default();
registry.register(discord_adapter());
```

## Quality gates

```bash
cargo fmt --all
cargo clippy --workspace --all-targets --all-features -- -D warnings
cargo test --workspace --all-features
```
channels

Comments

Sign in to leave a comment

Loading comments...