Skip to content
This repository was archived by the owner on Oct 12, 2025. It is now read-only.
/ ModHash Public archive
forked from OnlySq/ModHash

Small and smart telegram custom client-bot with authored commands, but more powerful than Telehash

Notifications You must be signed in to change notification settings

imsudoer/ModHash

 
 

Repository files navigation

ModHash

ModHash это ядро для кастомных подключаемых модулей, написан на `pyrogram`.

code size repo stars repo stars

Установка

  1. Скачать архив ModHash и Python (при первой установке)
  2. Установить Python 3.11.7 (есть в разделе релизов), обязательно галочку на PATH
  3. Распаковать ModHash в любое место
  4. Запустить install_reqs.bat
  5. Запустить start.bat

Функционал

Базовый функционал обеспечивают встроенные модули.

Модули

Вы можете сами писать свои модули и встраивать в юзербот, для этого есть папка modules Для начала можно использовать Template.py:

from pyrogram import Client, filters
from pyrogram.types import Message
from utils.misc import prefix
from utils.scripts import modules_help, requirements
from pyrogram.handlers import MessageHandler

module_name = ''

# Code

async def name(client: Client, message: Message):
    i = 0

# End of code

# MessageHandler(,filters.command('',prefix) & filters.me)
handlers = [

]

# "":"",
modules_help[module_name] = {

}

requirements[module_name] = {
    
}

About

Small and smart telegram custom client-bot with authored commands, but more powerful than Telehash

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.7%
  • Other 0.3%