semvec/pypi-packages huggingface dataset:
py-Humanoid 0.3
Userbot Library based Telethon for Humanoid
Requires Python: >=3.6

# py-Humanoid Library
A stable userbot base library, based on Telethon.
    
[![PyPI - Version](https://img.shields.io/pypi/v/py-Humanoid?style=for-the-badge)](https://pypi.org/project/py-Humanoid)

    
## Installation
`pip install py-Humanoid`
    
## Usage
=> Create folders named `plugins`, `addons`, `assistant` and `resources`.<br/>
=> Add your plugins in the `plugins` folder and others accordingly.<br/>
=> Create a `.env` file with `API_ID`, `API_HASH`, `SESSION`, 
`BOT_TOKEN`, `BOT_USERNAME`, `REDIS_URI`, `REDIS_PASSWORD` & 
`LOG_CHANNEL` as mandatory environment variables. Check
[`.env.sample`](https://github.com/TeamHumanoid/Humanoid/.env.sample) for more details.<br/>
=> Run `python -m pyHumanoid` to start the bot.<br/>
    
### Creating plugins
To work everywhere
    
```python
@Humanoid_cmd(
pattern="start",
)   
async def _(e):   
await eor(e, "Humanoid Started")   
```
    
To work only in groups
    
```python
@Humanoid_cmd(
pattern="start",
groups_only=True,
)   
async def _(e):   
await eor(e, "Humanoid Started")   
```
    
Assistant Plugins 👇
    
```python
@asst_cmd("start")   
async def _(e):   
await e.reply("Humanoid Started")   
```
    
Made with 💕 by [@TeamHumanoid](https://t.me/Humanoid_Support). <br />
    
# Credits
* [Lonami](https://github.com/LonamiWebs/) for [Telethon](https://github.com/LonamiWebs/Telethon)









Team Humanoid (C) 2021-2022