tenquestionmarks chat bot

tenquestionmarks is an extensible, scriptable chat bot. This iteration is written in rust.

Configuration

Configuration is done in TOML. By default, tenquestionmarks looks for tenquestionmarks.toml.

As of tenquestionmarks 0.0.3, tenquestionmarks supports a limited form of live configuration reloading. tenquestionmarks monitors the configuration file and, upon detecting changes, will emit a reconfiguration event to all modules to ask them to reconfigure. Reconfiguration is implemented on a per-module basis.

Modules

tenquestionmarks is a series of modules. Modules produce events and consume events.

In this particular iteration of tenquestionmarks, there are at most two threads spawned for a module: an event loop thread (which has access to an event emitter and event receiver), and the event dispatcher thread associated with said event emitter. The event dispatcher thread takes events emitted from the event loop thread and pushes them to downstream modules' event receivers. No event dispatcher thread will be spawned for a module with no downstreams.

As of tenquestionmarks 0.0.3, each module is required to explicitly identify which modules it wishes to send and/or receive events from.

Events

Events are things such as message, join, quit.

Description
No description provided
Readme 264 KiB
Languages
Rust 97.6%
Lua 2.4%