Hedwig v1.0.0 Hedwig.Adapters.Console

Hedwig Console Adapter

The console adapter is useful for testing out responders without a remote chat service.

config :my_app, MyApp.Robot,
  adapter: Hedwig.Adapters.Console,
  ...

Start your application with mix run --no-halt and you will have a console interface to your bot.

Summary

Functions

Callback implementation for Hedwig.Adapter.emote/2

Callback implementation for Hedwig.Adapter.reply/2

Callback implementation for Hedwig.Adapter.send/2

Functions

emote(pid, msg)

Callback implementation for Hedwig.Adapter.emote/2.

reply(pid, msg)

Callback implementation for Hedwig.Adapter.reply/2.

send(pid, msg)

Callback implementation for Hedwig.Adapter.send/2.