A curated directory of official and community-submitted custom modules for Kaguya UserBot.
To install any of the modules listed below, simply send its raw file to your running userbot in Telegram:
- Open the file you want to install from the
modules/directory. - Click the Raw button in the upper right corner of the file preview.
- Save the page as a
.pyfile (e.g.Ctrl+Sor via your browser menu). - Send this
.pyfile to yourself or to any chat in Telegram. - Reply to the uploaded file with the command
.install(or.установить).
We welcome any community-made modules! If you've developed a custom plug-in and want to share it, please submit a Pull Request following these guidelines.
- The module must inherit from
BaseModuleand define a validModuleInfoobject. - It must support internationalization (i18n) via the class-level
LANGUAGESdictionary and retrieve strings usingself.get_text("key"). - Import any external dependencies (not present in the core
requirements.txt) gracefully:try: import some_library except ImportError: raise ImportError("This module requires 'some_library'. Install it via: pip install some_library")
- Code must be readable and thoroughly commented. Obfuscation, malicious system calls (unapproved
eval,exec, shell subprocess execution), and sneaky transmission of session files (.session) or bot tokens are strictly prohibited and will be blocked by review.
- Fork this repository.
- Copy your
.pymodule file (or module package folder) into themodules/directory. - Register your module and its metadata inside the root
index.jsonfile. - Submit a Pull Request to our main branch with a brief description of what your plugin does.
- After a manual code audit, your module will be merged and listed in our official registry!