bot_ex v0.2.0 BotEx.Behaviours.Middleware behaviour
Behaviour for a module that changes the contents of BotEx.Models.Message
Link to this section Summary
Callbacks
Changes the contents of BotEx.Models.Message
Link to this section Callbacks
Link to this callback
transform(arg1)
transform(BotEx.Models.Message.t()) :: BotEx.Models.Message.t()
Changes the contents of BotEx.Models.Message
Parameters
- msg:
BotEx.Models.Message
fromMiddlewareParser
or otherMiddleware