Blur v0.2.1-beta3 Blur.IRC.Channel View Source

Handles IRC Channels events

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Handle channel messages

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Specs

handle_info(
  {:joined, channel :: charlist()}
  | {:joined, channel :: charlist(),
     sender :: %ExIRC.SenderInfo{host: term(), nick: term(), user: term()}}
  | {:logon, charlist(), nick :: charlist(), charlist(), charlist()}
  | {:kicked,
     sender :: %ExIRC.SenderInfo{host: term(), nick: term(), user: term()},
     channel :: charlist()},
  client :: pid()
) :: {:noreply, pid()}

Handle channel messages

Specs

start_link([client :: pid()]) :: GenServer.on_start()