Skip to content

Commit 325e261

Browse files
feat: release v2.0.0 with major architecture refactoring, performance optimizations, and documentation updates.
1 parent e10b421 commit 325e261

4 files changed

Lines changed: 24 additions & 75 deletions

File tree

.jules/bolt.md

Lines changed: 0 additions & 39 deletions
This file was deleted.

.jules/sentinel.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

README.md

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# ComfyUI-DiscordSend
44

55
![ComfyUI](https://img.shields.io/badge/ComfyUI-Extension-green?style=for-the-badge)
6-
![Version](https://img.shields.io/badge/Version-1.1.0-orange?style=for-the-badge)
6+
![Version](https://img.shields.io/badge/Version-2.0.0-orange?style=for-the-badge)
77
![License](https://img.shields.io/badge/License-GPLv3-red?style=for-the-badge)
88
![Dependencies](https://img.shields.io/badge/dependencies-1%20total-brightgreen?style=for-the-badge&color=blue)
99
<br>
@@ -24,12 +24,14 @@
2424

2525
---
2626

27-
## What's New in v1.1.0 (January 10, 2026)
27+
## What's New in v2.0.0 (January 20, 2026)
2828

29-
### 🚀 Core Updates
30-
- **Structured Logging**: Implemented comprehensive logging for better debugging and stability.
31-
- **Testing Suite**: Added initial test framework to ensure reliability.
32-
- **Enhanced Stability**: Various improvements to image and video handling logic.
29+
### 🚀 Major Refactoring Release
30+
- **New Architecture**: Reorganized into `nodes/`, `shared/`, and `bot/` packages for cleaner separation of concerns.
31+
- **BaseDiscordNode**: Shared base class eliminates 620 lines of duplicated code across image and video nodes.
32+
- **Shared Utilities**: 17 modular utility files covering Discord webhooks, media processing, and workflow handling.
33+
- **Discord Bot** *(optional)*: New standalone bot with slash commands, WebSocket reconnection, and job queuing.
34+
- **Performance**: Optimized image processing with direct Torch operations (~70% faster tensor processing).
3335

3436
📄 See [CHANGELOG.md](CHANGELOG.md) for the complete version history.
3537

@@ -125,6 +127,21 @@ pip install -r requirements-bot.txt
125127
> - **Nodes only** require just the `requests` library (1 dependency).
126128
> - **Discord bot** requires additional dependencies (discord.py, aiohttp, sqlalchemy, etc.).
127129
130+
## 🏗️ Architecture Overview
131+
132+
This extension contains **two independent systems**. Most users only need the nodes.
133+
134+
| | ComfyUI Nodes | Discord Bot |
135+
|---|---|---|
136+
| **What it does** | Send images/videos to Discord from your workflow | Standalone bot that lets Discord users trigger ComfyUI workflows via slash commands |
137+
| **How to use** | Add `DiscordSendSaveImage` or `DiscordSendSaveVideo` to your workflow | Run `python -m bot` as a separate process alongside ComfyUI |
138+
| **Auth method** | Paste a **webhook URL** directly into the node | Requires a **bot token** from the Discord Developer Portal |
139+
| **Config files needed** | ❌ None — everything is configured in the node itself |`.env` or `config.yaml` (copy from `.env.example` / `config.yaml.example`) |
140+
| **Dependencies** | `requests` only | `discord.py`, `aiohttp`, `sqlalchemy`, etc. |
141+
142+
> [!NOTE]
143+
> The `.env.example` and `config.yaml.example` files in the repository root are **only for the optional Discord bot**. If you just want to send images/videos to Discord from your ComfyUI workflows, you do not need these files. Simply paste your Discord webhook URL into the node's `webhook_url` field.
144+
128145
## ⚙️ Settings
129146

130147
### Discord Webhook Setup

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "comfyui-discordsend"
33
description = "A ComfyUI extension that enables seamless sharing of AI-generated images and videos directly to Discord."
4-
version = "1.1.0"
4+
version = "2.0.0"
55
license = {file = "LICENSE"}
66
dependencies = ["requests>=2.25.0"]
77

0 commit comments

Comments
 (0)