A Secure and Powerful Python-Telethon Based Library For Dark Fussion Userbot.
Project description
py-Fussion Library
A stable userbot base library, based on Telethon.
Installation
pip install py-Fussion
Usage
=> Create folders named plugins
, addons
, assistant
and resources
.
=> Add your plugins in the plugins
folder and others accordingly.
=> Create a .env
file with API_ID
, API_HASH
, SESSION
, REDIS_URI
& REDIS_PASSWORD
as mandatory environment variables. Check
.env.sample
for more details.
=> Run python -m pyFussion
to start the bot.
Creating plugins
- To work everywhere
@ultroid_cmd(
pattern="start",
)
async def _(e):
await eor(e, "Fussion Started")
- To work only in groups
@ultroid_cmd(
pattern="start",
groups_only=True,
)
async def _(e):
await eor(e, "Fussion Started")
- Assistant Plugins 👇
@asst_cmd("start")
async def _(e):
await e.reply("Fussion Started")
Made with 💕 by @TeamFussion.
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
py-Fussion-3.5.tar.gz
(58.6 kB
view details)
Built Distribution
py_Fussion-3.5-py3-none-any.whl
(94.6 kB
view details)
File details
Details for the file py-Fussion-3.5.tar.gz
.
File metadata
- Download URL: py-Fussion-3.5.tar.gz
- Upload date:
- Size: 58.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d201ba6861305fa62ca73947497d31eea16d66ea1c87e7e49df2f7a92453339 |
|
MD5 | 089f885df2666778eb154e309a316ed4 |
|
BLAKE2b-256 | 3edcaccd852969a57d4e39324e0ba64ab785dd95d5e5e2a163d6437bcda99554 |
File details
Details for the file py_Fussion-3.5-py3-none-any.whl
.
File metadata
- Download URL: py_Fussion-3.5-py3-none-any.whl
- Upload date:
- Size: 94.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d57784be2adf62c280558f033bcdd84d8d0c84c8300c3b9a4a3fb4d4e432a8a3 |
|
MD5 | 1888be6a789c3da1651f753ae6dce34d |
|
BLAKE2b-256 | 791255cf0db5d391ca2658eadf1bd3b8458f0e5052c56be9cc75f1a31f5780d0 |