Skip to content

Functions for Plugin and Bot Developers

Innocent Bystander edited this page Aug 8, 2015 · 1 revision

A reference to the bot object is provided to plugins, commands and handlers. The pages linked provide documentation for all functionality associated with the object:

  • [basic message sending] (Message-Sending)
  • [conversation and user metadata storage and retrieval with permanent memory] (Permanent-Memory)
  • [bot memory retrieval and manipulation in memory.json] (Accessing-and-Writing-memory.json)
  • [bot configuration retrieval and manipulation in config.json] (Accessing-and-Writing-config.json)
  • [tagging users and conversations] (Users-and-Conversations-Tagging)

And this... (which doesn't fit anywhere else)

getting the bot's own account

bot.user_self()

  • returns a dictionary containing: chat_id, full_name, email of the bot's account

# ## ###

Clone this wiki locally