Skip to content
Steven Hoelscher edited this page Jan 27, 2016 · 80 revisions

(Note for Developers & Botmins: Plugin file/folder are matched to their actual names e.g. the default plugin can be found as plugins/default.py; and the image_linker_reddit plugin files can be found in the plugins/image_linker_reddit/ subfolder)

Standard Plugins

These are user-centric plugins.

Example Plugins

These plugins are suitable references for beginning plugin developers.

Note: Plugin names that start with an underscore (_) are disabled on startup.

  • _example_memory: demonstrates bot per-user and per-conversation memory
  • _example_printrenames: outputs conversation rename events to console
  • _example_watchmembers: outputs group membership changes i.e. users joining and leaving to console
  • _example_webbridge: simple web-bridge that implements an incoming request listener with BaseBotRequestHandler and an outgoing message handler (outputs to console)

Unit-test Plugins

Unit-test plugins are used to test key framework features. They are also suitable for intermediate to advanced plugin developers.

Note: Plugin names that start with an underscore (_) are disabled on startup.

  • [ver<2.7] unittest_convmem
  • [ver<2.7] unittest_tags
  • [ver<2.7] unittest_geticon; [ver>=2.7] _unittest_geticon
    • uses hangouts contact/getentitybyid API query to retrieve photo url of user
  • [ver<2.7] unittest_reprocessor; [ver>=2.7] _unittest_reprocessor
    • test hidden message context and processing
  • _unittest_memory
    • low-level test function for bot.memory
    • WARNING: enabling and using this plugin can result in memory corruption!
  • _unittest_shutup
    • test sending handler priority and suppression
    • WARNING: enabling this blocks all bot messages!
  • [ver<2.7] unittest_statusevents; [ver>=2.7] unittest_statusevents
    • demonstrates watermark and typing handlers, output latest read state (watermark) of users and their active typing status to console/stdout

# ## ###

Clone this wiki locally