bot_ex v0.2.0 API Reference

Modules

Basic behaviour for the Handler module

Basic behaviour for the Hook module

Behaviour for a module that changes the contents of BotEx.Models.Message

The behaviour for the inbox transformation module

Configurations module

The base macro that all message handlers should implement

A simple macro to initialize a GenServer. Takes the current state structure as an argument Example

Secondary functions

User actions interacting functions

Refresh last calls table

Middlware that checks if a user message matches short commands

Analytics Gathering Module

Log rotator. Since it is not possible to dynamically change the date of the log. This module backup the current log once a day