πŸ‡ΊπŸ‡²
eng docs
  • πŸ‘‹Welcome to pbmodular wiki!
  • 🐦PBModular github repository
  • πŸ“²Quick start
    • πŸ–₯️Bot structure
    • πŸ““Module structure
  • ✏️module development
    • πŸ’»Initial structure and a simple handler
    • 🌎Traslations
    • πŸ“Multifiling
    • β˜‘οΈUsing /start
    • πŸ“ƒComparison page
    • βœ…Command permission system
    • 🐍Using 3rd party python packages
    • πŸ“‹Getting the list of loaded modules
  • ✨Extended usage
    • β˜‘οΈModule permissions
    • πŸ’½Database usage
    • πŸ”ƒCallback functions
    • ▢️Loader usage
    • πŸ“₯Load module
    • πŸ“€Unload module
    • βœ…Downloading module
    • πŸ”„Updating a module/extension
    • πŸ—‘οΈDeleting a module
    • ⬇️Getting an internal name from a common name
  • πŸ’¬Publishing
    • πŸ’¬Publishing modules
Powered by GitBook
On this page
  1. ✨Extended usage

πŸ”„Updating a module/extension

def update_from_git(self, name: str, directory: str) -> (int, str):

name - the internal name of the module or extension, directory - the folder with the modules or extensions. Returns a tuple of git and STDOUT output code

PreviousDownloading moduleNextDeleting a module

Last updated 1 year ago