bot.admin Module

This module contains functions for the admin.

bot.admin.rebuild_orchestra(update, context)

Builds a new orchestra by registering all members from the one in context.bot_data to a new instance of components.Orchestra. Puts the new orchestra in bot_data. Useful, if there have been changes to the attribute manager setup.

Parameters
  • update (Update) – The update.

  • context (CallbackContext) – The context as provided by the telegram.ext.Dispatcher.

Return type

None