A Secure and Powerful Python-Telethon Based Library For MHMuser Userbot.
Project description
pyMHMuser Library
Core library of The MHMuser, a python based telegram userbot.
Installation
pip3 install -U pyMHMuser
Documentation
Usage
- Create folders named
plugins
,addons
,assistant
andresources
. - Add your plugins in the
plugins
folder and others accordingly. - Create a
.env
file with following mandatory Environment VariablesAPI_ID API_HASH SESSION REDIS_URI REDIS_PASSWORD
- Check
.env.sample
for more details. - Run
python3 -m pyMHMuser
to start the bot.
Creating plugins
-
To work everywhere
@MHMup_cmd(
pattern="start"
)
async def _(e):
await e.eor("MHMuser Started!")
-
To work only in groups
@MHMup_cmd(
pattern="start",
groups_only=True,
)
async def _(e):
await eor(e, "MHMuser Started.")
-
Assistant Plugins 👇
@asst_cmd("start")
async def _(e):
await e.reply("MHMuser Started.")
See more working plugins on the offical repository!
Made with 💕 by @MHMuser.
License
MHMuser is licensed under GNU Affero General Public License v3 or later.
Credits
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyMHMuser-2022.3.20.tar.gz
(68.2 kB
view details)
File details
Details for the file pyMHMuser-2022.3.20.tar.gz
.
File metadata
- Download URL: pyMHMuser-2022.3.20.tar.gz
- Upload date:
- Size: 68.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b8b9687a47c22aa6d1c3bb344d2fe7800710700bea2caa0b06b9977647c2dba |
|
MD5 | d4985fa0eb6ebf85bc76b3b6d1492bbc |
|
BLAKE2b-256 | e850353dd88b5b6502e7f7b40f3f40ee01d3e9cb63b81872b0713b144c79ae84 |