module mokadi.mokadi_action

Inheritance diagram of botadi.mokadi.mokadi_action

Short summary

module botadi.mokadi.mokadi_action

Defines an action for Mokadi.

source on GitHub

Classes

class

truncated documentation

MokadiAction

Action.

Methods

method

truncated documentation

__init__

Constructor.

__repr__

usual

__str__

usual

can_do

Tells if the class can process the message.

fLOG

logging function

process_interpreted_message

Process the interpreted message.

Documentation

Defines an action for Mokadi.

source on GitHub

class botadi.mokadi.mokadi_action.MokadiAction(fLOG=None)

Bases: object

Action.

source on GitHub

Constructor.

source on GitHub

__init__(fLOG=None)

Constructor.

source on GitHub

__repr__()

usual

source on GitHub

__str__()

usual

source on GitHub

can_do(interpreted, message)

Tells if the class can process the message.

Parameters
  • interpreted – interpreted message

  • message – message

Returns

true if the class can process the message

source on GitHub

fLOG(*args, **kwargs)

logging function

source on GitHub

process_interpreted_message(interpretation, message)

Process the interpreted message.

Parameters
  • interpretation – interpretation

  • message – original message

Returns

iterator on Info

source on GitHub