Skip to content
/ ModHash Public

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

OnlySq/ModHash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mod

ModHash

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

Установка

  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

Packages

No packages published