Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 445 Bytes

File metadata and controls

5 lines (3 loc) · 445 Bytes

buggy-filter

Always raises an error from @plugin.filter_chat_message. Exists only to verify the host's fail-open behavior: when a filter errors, the chain continues with the unmodified payload rather than dropping the message.

Demonstrates: fail-open semantics in the filter chain, plus the strike system (a plugin whose filter raises repeatedly is eventually auto-disabled for the session). A real plugin should never look like this.