Releases: DevRohit06/discli
Releases · DevRohit06/discli
v0.6.4
Full Changelog: v0.6.3...v0.6.4
v0.6.3
Full Changelog: v0.6.2...v0.6.3
v0.6.2
Full Changelog: v0.6.1...v0.6.2
v0.6.1
Bug Fixes
- serve: Include
is_adminflag inslash_commandevents. Previously, the flag was always missing, causing consumers (e.g., PocketPaw Discord adapter) to reject conversation mode toggles even for server administrators. - serve: Complete action registry with all Discord operations
- serve: Add thread_create, thread_send, and poll_send actions
- docs: Escape curly braces and angle brackets in MDX content
- docs: Add complete documentation site with landing page
- ci: Handle pre-existing releases in GitHub Actions
v0.6.0
Breaking: Serve is now a complete Discord gateway
The serve process now supports 30 actions through the JSONL protocol, covering the full Discord API surface. Dispatch uses a clean dict-based registry instead of if/else chains.
New Actions
| Category | Actions |
|---|---|
| Messages | message_list, message_get, message_search, message_pin, message_unpin |
| Channels | channel_list, channel_create, channel_info |
| Threads | thread_list (+ existing thread_create, thread_send) |
| Polls | poll_send (with emoji support) |
| DMs | dm_send |
| Members | member_list, member_info |
| Roles | role_list, role_assign, role_remove |
| Server | server_list, server_info |
Example
{"action": "message_list", "channel_id": "123", "limit": 10}
{"action": "channel_create", "guild_id": "456", "name": "new-channel", "type": "text"}
{"action": "dm_send", "user_id": "789", "content": "Hello!"}
{"action": "poll_send", "channel_id": "123", "question": "Vote!", "answers": [{"text": "Yes", "emoji": "✅"}, {"text": "No", "emoji": "❌"}]}
{"action": "role_assign", "guild_id": "456", "member_id": "789", "role_id": "101"}v0.5.5
New Features
- Thread actions in serve mode —
thread_create,thread_sendactions via stdin JSONL protocol. Create threads from messages or standalone, send messages to threads. - Poll support — Native Discord polls via
poll_sendserve action anddiscli poll createCLI command. Supports emoji per answer (-eflag), multi-select (--multiple), and configurable duration.
Example
# CLI
discli poll create #general "Favorite AI?" Claude Gemini ChatGPT -e 🤖 -e 💎 -e 💬
# Serve action (stdin JSONL)
{"action": "poll_send", "channel_id": "123", "question": "Favorite?", "answers": [{"text": "Claude", "emoji": "🤖"}, {"text": "Gemini", "emoji": "💎"}], "duration_hours": 24}
{"action": "thread_create", "channel_id": "123", "name": "Discussion", "content": "Let's talk!"}v0.5.4
Full Changelog: v0.5.3...v0.5.4
v0.5.3
Bug Fixes
- Slash commands never registering with Discord — Commands were added to the tree's global scope but only synced per-guild (which uploads an empty list). Added
copy_global_to()before each guild sync. - Command parameters not discovered — Handler functions used
**kwargs, which discord.py can't inspect for option registration. Commands like/pawappeared without theirmessageoption. Now uses__signature__injection for proper typed parameter discovery. - Silent registration failures — Errors during slash command registration were lost in stderr at DEBUG level. Now surfaced via the JSONL
errorevent.
v0.5.2
Full Changelog: v0.5.1...v0.5.2
v0.5.1
Full Changelog: v0.5.0...v0.5.1