module mokadi.mokadi_action_news

Inheritance diagram of botadi.mokadi.mokadi_action_news

Short summary

module botadi.mokadi.mokadi_action_news

Defines an action for Mokadi.

source on GitHub

Classes

class

truncated documentation

MokadiActionNews

Action. News.

Methods

method

truncated documentation

__init__

Constructor.

can_do

Tells if the class can process the message.

process_interpreted_message

Process the interpreted message.

Documentation

Defines an action for Mokadi.

source on GitHub

class botadi.mokadi.mokadi_action_news.MokadiActionNews(subkey, fLOG=None)

Bases: botadi.mokadi.mokadi_action.MokadiAction

Action. News.

source on GitHub

Constructor.

Parameters
  • subkey – subscription key

  • fLOG – logging function

source on GitHub

__init__(subkey, fLOG=None)

Constructor.

Parameters
  • subkey – subscription key

  • fLOG – logging function

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

process_interpreted_message(interpretation, message)

Process the interpreted message.

Parameters
  • interpretation – interpretation

  • message – original message

Returns

iterator on Info

source on GitHub