Fawkes v0.4.1 Fawkes.Bot View Source

Provides convenience functions for responding to different events.

Link to this section Summary

Functions

Sends a message to the event's channel, formatted as a code snippet.

Gets a value from the bots brain.

Mentions the user who created the event with the specified text.

Sends a text message back to the channel the event originated from.

Sets a value in the bots brain.

Link to this section Types

Specs

t() :: %Fawkes.Bot{
  adapter: term(),
  adapter_name: term(),
  bot_alias: term(),
  bot_name: term(),
  brain: term(),
  brain_name: term(),
  id: term()
}

Link to this section Functions

Sends a message to the event's channel, formatted as a code snippet.

Gets a value from the bots brain.

Mentions the user who created the event with the specified text.

Sends a text message back to the channel the event originated from.

Sets a value in the bots brain.