# py-Ultroid Library
A stable userbot base library, based on Telethon.
## Installation
`pip install py-Ultroid`
## 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/TeamUltroid/Ultroid/.env.sample) for more details.<br/>
=> Run `python -m pyUltroid` to start the bot.<br/>
### Creating plugins
To work everywhere
```python
@ultroid_cmd(
pattern="start",
)
async def _(e):
await eor(e, "Ultroid Started")
```
To work only in groups
```python
@ultroid_cmd(
pattern="start",
groups_only=True,
)
async def _(e):
await eor(e, "Ultroid Started")
```
Assistant Plugins ð
```python
@asst_cmd("start")
async def _(e):
await e.reply("Ultroid Started")
```
Made with ð by [@TeamUltroid](https://t.me/TeamUltroid). <br />
# Credits
* [Lonami](https://github.com/LonamiWebs/) for [Telethon](https://github.com/LonamiWebs/Telethon)
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
py-Ultroid-7.8b0.tar.gz (27个子文件)
py-Ultroid-7.8b0
PKG-INFO 2KB
py_Ultroid.egg-info
PKG-INFO 2KB
requires.txt 73B
SOURCES.txt 686B
top_level.txt 10B
dependency_links.txt 1B
setup.cfg 38B
pyUltroid
functions
asst_fns.py 3KB
__init__.py 389B
mute_db.py 1KB
all.py 31KB
google_image.py 59KB
pmpermit_db.py 2KB
sudos.py 2KB
misc
_decorators.py 7KB
_supporter.py 7KB
__init__.py 0B
_wrappers.py 1KB
_assistant.py 3KB
utils.py 8KB
__main__.py 6KB
__init__.py 1KB
dB
core.py 304B
database.py 2KB
__init__.py 200B
setup.py 1KB
README.md 1KB
共 27 条
- 1
资源评论
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功