Blur v0.2.1-beta1 Blur.IRC.Channel View Source
Handles IRC Channels events
Link to this section Summary
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Specs
handle_info({:joined, channel :: charlist()}, client :: pid()) ::
{:noreply, pid()}
handle_info(
{:joined, channel :: charlist(),
sender :: %ExIRC.SenderInfo{host: term(), nick: term(), user: term()}},
pid()
) :: {:noreply, pid()}
handle_info(
{:logon, charlist(), nick :: charlist(), charlist(), charlist()},
state :: pid()
) :: {:noreply, pid()}
handle_info(
{:kicked,
sender :: %ExIRC.SenderInfo{host: term(), nick: term(), user: term()},
channel :: charlist()},
state :: pid()
) :: {:noreply, pid()}
Handle channel messages
Specs
start_link(client :: pid()) :: GenServer.on_start()