Skip to main content
All functions are accessed through the flume module.

flume.version

The running Flume version as a string (e.g. "1.2.5"). Useful for gating script features on a minimum version. Lua:
Python:

flume.event

Subscribe to IRC events. The callback receives an event table/dict with fields specific to each event type. See Events for the full list.

Event Cancellation

Scripts can cancel events to suppress default processing: Lua:
Python:

flume.channel

Channel operations.

flume.buffer

Buffer operations. Use "" for server and buffer to target the currently active ones.

flume.command

Register custom slash commands. The help_text is shown when users type /help name.

flume.config

Per-script persistent configuration. Stored as TOML in ~/.config/flume/scripts/<scriptname>.toml. Supports strings, integers, floats, and booleans.

flume.server

Server operations.

flume.vault

Read-only access to encrypted vault secrets. Store secrets with /secure set name value. Scripts can read but not modify vault values.

flume.ui

UI operations.