@elizaos/plugin-discord 1.0.0-beta.8 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # @elizaos/client-discord
1
+ # @elizaos/plugin-discord
2
2
 
3
- A Discord client implementation for ElizaOS, enabling rich integration with Discord servers for managing interactions, voice, and message handling.
3
+ A Discord plugin implementation for ElizaOS, enabling rich integration with Discord servers for managing interactions, voice, and message handling.
4
4
 
5
5
  ## Features
6
6
 
@@ -21,14 +21,17 @@ bun install
21
21
 
22
22
  ## Configuration
23
23
 
24
- The client requires the following environment variables:
24
+ The plugin requires the following environment variables:
25
25
 
26
26
  ```bash
27
27
  # Discord API Credentials
28
28
  DISCORD_APPLICATION_ID=your_application_id
29
29
  DISCORD_API_TOKEN=your_api_token
30
30
 
31
- # Optional Settings (add any additional details here if necessary)
31
+ # Optional Settings
32
+ # Comma-separated list of Discord channel IDs to restrict the bot to.
33
+ # If not set, the bot operates in all channels as usual.
34
+ CHANNEL_IDS=123456789012345678,987654321098765432
32
35
  ```
33
36
 
34
37
  ## Usage
@@ -0,0 +1,5 @@
1
+ import { Plugin } from '@elizaos/core';
2
+
3
+ declare const discordPlugin: Plugin;
4
+
5
+ export { discordPlugin as default };