skillfed

pywayne-lark-bot-listener

Pywayne Lark Bot Listener provides WebSocket-based real-time processing for Feishu/Lark messages and bot events. It offers decorator-driven handlers for text, images, files, audio, media, stickers, posts, and interactive content, plus event handlers for recalls, reads, reactions, and membership changes—all with automatic resource download/cleanup and message deduplication. Handlers support flexible parameter declaration, async/sync compatibility, and built-in access to the full LarkBot API for sending replies and managing interactive cards.

Pywayne Lark Bot Listener enables real-time WebSocket-based message and event processing for Feishu/Lark.

AI-generated summary based on this skill's SKILL.md

8 0 MIT updated by wangyendt

Install

wangyendt/wayne-skills/lark-bot-listener · repository language: Python

CLI (skillfed)coming soon
git clone https://github.com/wangyendt/wayne-skills
cp -r wayne-skills/pywayne/lark-bot-listener ~/.claude/skills/lark-bot-listener

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

What is pywayne-lark-bot-listener and how does it work?

Pywayne Lark Bot Listener is a Python library that enables real-time processing of Feishu/Lark messages and bot events through WebSocket connections. It provides decorator-driven handlers for various message types (text, images, files, audio, media, stickers, posts) and bot events (recalls, reads, reactions, membership changes). The library automatically downloads resources, deduplicates messages, and supports both async and sync handler functions with flexible parameter declaration.

How does pywayne-lark-bot-listener handle Feishu message listener WebSocket real-time processing?

Pywayne Lark Bot Listener uses WebSocket connections to listen to Feishu/Lark messages and events in real-time. The library maintains a persistent connection that receives incoming messages and bot events as they occur. Handlers are triggered automatically based on message type, group, or @mention patterns. The system includes built-in message deduplication to prevent duplicate processing and provides full access to the LarkBot API for sending replies and managing interactive cards.

What message types can pywayne-lark-bot-listener handle automatically?

Pywayne Lark Bot Listener handles multiple message types with automatic resource download: text messages, images, files, audio, media, stickers, and posts. Each message type can be processed through dedicated decorator handlers. The library automatically manages resource cleanup after processing and provides access to message context including chat ID and user name. Handlers support flexible parameter declaration to access only the data you need.

How do decorators work in pywayne-lark-bot-listener for routing messages?

Pywayne Lark Bot Listener uses decorators to route and filter messages by type, group, or @mention patterns. Decorators allow you to define handler functions that respond to specific message criteria without manual routing logic. The library supports both async and sync handler functions with flexible parameter declaration. Handlers automatically receive message context and can trigger interactive workflows with card actions and streaming replies.

What bot events does pywayne-lark-bot-listener process automatically?

Pywayne Lark Bot Listener processes multiple bot events automatically: member additions and removals, group disbandment, message recalls, read receipts, reaction tracking, and card action callbacks (button clicks). Each event type can be handled through dedicated decorators. The library provides full context for each event and integrates seamlessly with the LarkBot API for sending responses and managing interactive cards in place.

Is pywayne-lark-bot-listener compatible with async and sync handlers?

Yes, pywayne-lark-bot-listener supports both async and sync handler functions. Handlers are compatible with flexible parameter declaration, allowing you to specify only the parameters you need. The library automatically manages execution context and provides built-in access to the full LarkBot API for sending replies, uploading files, and updating interactive cards. This compatibility makes it easy to integrate with existing Python code and frameworks.

SKILL.md

rendered from the published skill — quoted content, verbatim

Pywayne Lark Bot Listener - Real-Time Event Processing

Overview

LarkBotListener is a WebSocket-based event listener for Feishu (Lark) that enables real-time message and event processing. It provides

(truncated - see the full file via the links below)

Read as markdown · JSON record · Browse the source repository

File tree — 1 file
pywayne/lark-bot-listener/SKILL.md

Related skills

Tags

websocket-listener event-driven-automation message-routing resource-auto-cleanup decorator-pattern async-sync-compat interactive-workflows real-time-processing file-auto-upload group-event-tracking