You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add visual reaction indicators for command status
- Add emoji reactions (⏳, ✅, ❌) to show real-time processing status of commands and file uploads.
- Add COMMAND_REACTION_ENABLED and related .env variables to customize or disable reactions.
- Enhance UX by ensuring users know their webhook is actively processing.
- Update documentation and .env.example with new logic and configuration.
Copy file name to clipboardExpand all lines: README.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,8 @@ While platforms like n8n and Node-RED have native Discord nodes, they are often
44
44
-**🎭 Dynamic Body Templating:** Inject Discord metadata (like `{{discord.user_display}}` or `{{discord.channel_id}}`) directly into the JSON payload sent to your webhook, molding the data to fit your API perfectly.
45
45
-**🔒 Security Built-In:** Restrict specific commands to specific Discord channels or user IDs. Secures outbound requests with a custom `X-DashCord-Token` header.
46
46
-**💬 Native Discord Replies:** Your webhook can respond with JSON containing plain text or rich Discord Embeds, and the bot will cleanly post it back to the channel.
47
-
47
+
-**👁️ Visual Status Indicators:** Real-time emoji reactions (⏳, ✅, ❌) let users know exactly when a command is processing, succeeded, or failed without needing extra text replies.
48
+
-
48
49
---
49
50
50
51
## 🚀 Quick Start (Docker)
@@ -323,7 +324,11 @@ DashCord is highly customizable. You can fine-tune exactly how the bot, your web
323
324
-`DISPLAY_UNKNOWN_COMMAND_ERROR_SILENT_CHANNELS`: A comma-separated list of channel IDs where the bot will never post an "Unknown command" error. Use this if you have other bots in the same channel so DashCord doesn't interrupt their commands (Default: empty).
324
325
-`DASHCORD_DEBUG`: Enables verbose internal debug logging in the console (Default: `false`).
325
326
-`ROUTES_PATH`: The file path to your routing configuration (Default: `routes.json` in the bot's root directory).
326
-
327
+
-`COMMAND_REACTION_ENABLED`: Automatically add emoji reactions to user messages to show command status (pending, success, fail) (Default: `true`).
328
+
-`COMMAND_REACTION_PENDING`: The emoji to show while a command or file upload is being processed by your webhook (Default: `⏳`).
329
+
-`COMMAND_REACTION_SUCCESS`: The emoji to show when a command succeeds (Default: `✅`).
330
+
-`COMMAND_REACTION_FAIL`: The emoji to show when a command or webhook fails (Default: `❌`).
331
+
327
332
#### 🌐 Webhook & API Settings
328
333
-`DASHCORD_SHARED_SECRET`: A secret string sent as the `X-DashCord-Token` HTTP header to secure your webhooks from unauthorized requests.
329
334
-`HTTP_TIMEOUT_SECONDS`: How long the bot waits for your webhook to respond before throwing a timeout error (Default: `20`).
0 commit comments