class

Autobot::Channels::Manager

Inherits Reference < Object

Manages chat channels and coordinates message routing.

Responsibilities:

  • Initialize enabled channels from config
  • Start/stop all channels
  • Route outbound messages to the appropriate channel

Constants

Log = ::Log.for("channels.manager")

Constructors

new(config : Config::Config, bus : Bus::MessageBus, session_manager : Session::Manager | Nil = nil, cron_service : Cron::Service | Nil = nil)
Source

Instance methods

channel(name : String) : Channel | Nil

Get a channel by name.

Source
channels
Source
enabled_channels

List enabled channel names.

Source
start

Start all enabled channels and the outbound dispatcher.

Source
status

Get status of all channels.

Source
stop

Stop all channels gracefully.

Source
transcriber
Source