Metadata-Version: 2.1
Name: py-Fussion
Version: 3.5
Summary: A Secure and Powerful Python-Telethon Based Library For Dark Fussion Userbot.
Home-page: https://github.com/TeamFussion/pyFussion
Author: TeamFussion
Author-email: redwarp06@gmail.com
License: GNU AFFERO GENERAL PUBLIC LICENSE (v3)
Project-URL: Bug Tracker, https://github.com/TeamFussion/pyFussion/issues
Project-URL: Source Code, https://github.com/TeamFussion/pyFussion
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
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: redis
Requires-Dist: python-decouple (==3.3)
Requires-Dist: python-dotenv (==0.15.0)
Requires-Dist: aiofiles
Requires-Dist: aiohttp

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

[![PyPI - Version](https://img.shields.io/pypi/v/py-Fussion?style=for-the-badge)](https://pypi.org/project/py-Fussion)
[![PyPI - Downloads](https://img.shields.io/pypi/dm/py-Fussion?label=DOWNLOADS&style=for-the-badge)](https://pypi.org/project/py-Fussion)

## Installation
`pip install py-Fussion`

## 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`, `REDIS_URI` & `REDIS_PASSWORD` as mandatory environment variables. Check
[`.env.sample`](https://github.com/TeamFussion/Dark-Fusion/blob/main/.env.sample) for more details.<br/>
=> Run `python -m pyFussion` to start the bot.<br/>

### Creating plugins
- To work everywhere

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

- To work only in groups

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

- Assistant Plugins 👇

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

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

# Credits
* [![TeamFussion](https://img.shields.io/static/v1?label=TeamFussion&message=devs&color=critical)](https://t.me/DarkFussion)
* [![TeamUltroid-Devs](https://img.shields.io/static/v1?label=Teamultroid&message=devs&color=critical)](https://t.me/UltroidDevs)
* [![Lomani](https://img.shields.io/static/v1?label=Lomani&message=devs&color=critical)](https://github.com/LonamiWebs/Telethon)


