A Secure and Powerful Python-Telethon Based Library For Pragyan Userbot.
Project description
pyPandey Library
Core library of The Pragyan, a python based telegram userbot.
Installation
pip3 install -U pyPandey
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 pyPandey
to start the bot.
Creating plugins
-
To work everywhere
@Pragyan_cmd(
pattern="start"
)
async def _(e):
await e.eor("Pragyan Started!")
-
To work only in groups
@Pragyan_cmd(
pattern="start",
groups_only=True,
)
async def _(e):
await eor(e, "Pragyan Started.")
-
Assistant Plugins 👇
@asst_cmd("start")
async def _(e):
await e.reply("Pragyan Started.")
See more working plugins on the offical repository!
Made with 💕 by @TeamPandey.
License
Pragyan 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
pypandey-2024.11.12.tar.gz
(80.3 kB
view details)
Built Distribution
pyPandey-2024.11.12-py3-none-any.whl
(102.8 kB
view details)
File details
Details for the file pypandey-2024.11.12.tar.gz
.
File metadata
- Download URL: pypandey-2024.11.12.tar.gz
- Upload date:
- Size: 80.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50d5e50e52108ef197647297b58d510f124d810e31e95015067d3654d874eb5b |
|
MD5 | 458f47601977f94f704de4d01f308cff |
|
BLAKE2b-256 | d539e3378a019331b0e181d4d4d473e9e4a35971c16f3f7f0d741c746c1df899 |
File details
Details for the file pyPandey-2024.11.12-py3-none-any.whl
.
File metadata
- Download URL: pyPandey-2024.11.12-py3-none-any.whl
- Upload date:
- Size: 102.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8de1e1eed1ea73291b85ffc76317613c9598c6dcefa64a8be7774970878cc1a2 |
|
MD5 | ea1ca8ccec73df16e9e7c4c5db2faae9 |
|
BLAKE2b-256 | 19b3a88ed6d0ffd0ce6cb7acb6e67a83d875226c81d8a5592651f4dc24d66a25 |