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_datato a new instance ofcomponents.Orchestra. Puts the new orchestra inbot_data. Useful, if there have been changes to the attribute manager setup.- Parameters
update (
Update) – The update.context (
CallbackContext) – The context as provided by thetelegram.ext.Dispatcher.
- Return type