def debug_print(bot, update): inf = usermanager.debug_info(update.message.chat_id) bot.sendMessage(update.message.chat_id, text=inf)