πŸ‡ΊπŸ‡²
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

▢️Loader usage

First, you need to add the use_loader permission to the info.yaml file

The object of the current (and only) ModuleLoader bot will appear in the loader attribute. Below only some functions are described, for a full list of features look in the source code, the functions have dockstrings.

PreviousCallback functionsNextLoad module

Last updated 1 year ago