Download the PHP package bootdesk/chat-sdk-adapter-discord without Composer
On this page you can find all versions of the php package bootdesk/chat-sdk-adapter-discord. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bootdesk/chat-sdk-adapter-discord
More information about bootdesk/chat-sdk-adapter-discord
Files in bootdesk/chat-sdk-adapter-discord
Package chat-sdk-adapter-discord
Short Description Discord adapter for bootdesk/chat-sdk-core
License MIT
Informations about the package chat-sdk-adapter-discord
bootdesk/chat-sdk-adapter-discord
Discord adapter for the laravel-bootdesk multi-platform messaging framework.
Install
Requires a PSR-18 HTTP client (guzzlehttp/guzzle, symfony/http-client, etc.) and a PSR-17 factory (nyholm/psr7 bundled).
Configuration
| Variable | Description | Example |
|---|---|---|
bot_token |
Discord Bot Token | MTk4NjIy... |
http_client |
PSR-18 HTTP client instance | new GuzzleHttp\Client |
public_key |
Application Public Key | abcdef123456... |
application_id |
Discord Application ID | 1234567890 |
Laravel
The ChatServiceProvider auto-binds Psr\Http\Client\ClientInterface to GuzzleHttp\Client. Add to config/chat.php:
Quick Example
Thread ID Format
| Format | Description |
|---|---|
discord:{channelId} |
Channel message |
discord:{channelId}:{messageId} |
Reply to a specific message |
Webhook
Discord sends Interactions via POST to your endpoint. Verify requests using Ed25519 signature verification with the public key.
Feature Matrix
| Feature | Supported |
|---|---|
| Post messages | ✓ |
| Edit messages | ✓ |
| Delete messages | ✓ |
| Reactions | ✓ |
| Slash commands | ✓ |
| Typing indicator | ✓ |
| Fetch messages | ✓ |
| Fetch thread info | ✓ |
| Fetch channel info | ✓ |
| Get user | ✓ |
| Open DM | ✗ |
| Stream | ✓ |
Notes
Supports slash commands, buttons, select menus, modals, and application commands.
Documentationn
Full API documentation: https://bootdesk.github.io/chat-sdk
License
MIT
All versions of chat-sdk-adapter-discord with dependencies
bootdesk/chat-sdk-core Version 0.4.45
ext-json Version *
php-http/multipart-stream-builder Version ^1.4
psr/http-client Version ^1.0
psr/http-factory Version ^1.0