Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 643 Bytes

File metadata and controls

29 lines (17 loc) · 643 Bytes

Erobot

XMPP bot in Elixir

Installation

If available in Hex, the package can be installed as:

  1. Add erobot to your list of dependencies in mix.exs:

    def deps do [{:erobot, "~> 0.0.1"}] end

  2. Ensure erobot is started before your application:

    def application do [applications: [:erobot]] end

Standalone run for hacking

Compile with mix, then run with eix -S mix

Connect to room with Erobot.Controller.connect options

Send message with

Erobot.Controller.connected |> Map.keys |> hd |> Erobot.Worker.message "yo!"