Skip to content
collingreen edited this page Dec 31, 2014 · 1 revision

This page needs to be written. For now it is simply a repository of snippets and todos.

Useful Topics that Need Content:

  • settings
    • namespaced settings for each plugin
    • createDefaultSettings function
  • callbacks
  • commands
    • how commands are called by the users
    • command_ vs admin_
  • automatic help documentation if commands provide a docstring
    • {nick} and {command_prefix} automatically replaced
    • do_not_notify_plugins anywhere in the docstring prevents the plugins from knowing the command has been handled (for example, to prevent it from being logged with sensitive data)
  • send vs reply
  • persistence
    • creating models and importing them
    • creating and querying data
Clone this wiki locally