An IRC bot implementation in Elixir.
Here is a quick example how to start a bot:
-
Open an interactive Elixir shell:
$ iex -S mix run --no-start
Then spawn a new bot:
IRCBot.Bot.start_link(%{server: "foobar", port: 6697, nickname: "foobarbaz", channels: ["#foobar"], ssl: true})
-
Edit the
config/config.exs
file and run as an application.
Enable the debug messages to aid you debugging the bot interactions. To do this comment out the logger configuration in the config/config.exs file.