Metadata-Version: 2.1
Name: py-RYNO
Version: 2021.3.13
Summary: A Secure and Powerful Python-Telethon Based Library For RYNO Userbot.
Home-page: https://github.com/RYNO-X/RYNO
Author: RYNO
Author-email: teamultroid@protonmail.ch
License: GNU AFFERO GENERAL PUBLIC LICENSE (v3)
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: telethon (==1.19.5)
Requires-Dist: redis
Requires-Dist: python-decouple (==3.3)
Requires-Dist: cryptg
Requires-Dist: python-dotenv (==0.15.0)

# py-RYNO Library
A stable userbot base library, based on Telethon.

## Installation
`pip install py-RYNO`

## 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/RYNO-X/RYNO/.env.sample) for more details.<br/>
=> Run `python -m py-RYNO` to start the bot.<br/>

### Creating plugins
To work everywhere

```python
@ultroid_cmd(
    pattern="start",
)   
async def _(e):   
    await eor(e, "RYNO Started")   
```

To work only in groups

```python
@ultroid_cmd(
    pattern="start",
    groups_only=True,
)   
async def _(e):   
    await eor(e, "RYNO Started")   
```

Assistant Plugins 👇

```python
@asst_cmd("start")   
async def _(e):   
    await e.reply("RYNO Started")   
```

Made with 💕 by [@OFFICIALRYNO](https://t.me/OFFICIALRYNORYNO). <br />

# Credits
* [Lonami](https://github.com/LonamiWebs/) for [Telethon](https://github.com/LonamiWebs/Telethon)


