8000 Update README.md · pyrogram/plugins@62f33d5 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Dec 22, 2021. It is now read-only.

Commit 62f33d5

Browse files
authored
Update README.md
1 parent 06409cf commit 62f33d5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# :fire: Pyrogram Plugins
1+
# Pyrogram Plugins
22

3-
<img align="right" src="https://emojipedia-us.s3.dualstack.us-west-1.amazonaws.com/thumbs/120/apple/155/jigsaw-puzzle-piece_1f9e9.png">
3+
<img src="https://i.imgur.com/JyxrStE.png" width="160" align="right">
44

55
> A collection of Pyrogram plugins made by the community
66
@@ -10,19 +10,19 @@
1010

1111
- Create a new folder in your working directory (e.g.: *plugins*).
1212
- [Download](https://github.com/pyrogram/plugins/archive/master.zip) and copy the desired plugin(s) into your *plugins* folder.
13-
- Enable plugins in your Client by telling Pyrogram to search on your folder with `plugins_dir="plugins"`:
13+
- Enable plugins in your Client by telling Pyrogram to search on your folder with `plugins=dict(root="plugins")`:
1414
```python
1515
from pyrogram import Client
1616

17-
app = Client("my_account", plugins_dir="plugins")
17+
app = Client("my_account", plugins=dict(root="plugins"))
1818
```
1919
- Done! Run your client with `app.run()`, the plugins will be automatically loaded.
2020

21-
[**More details**](https://docs.pyrogram.ml/resources/SmartPlugins#using-smart-plugins)
21+
[**More details**](https://docs.pyrogram.org/topics/smart-plugins#using-smart-plugins)
2222

2323
## Adding Plugins
2424

25-
- Understand how [Smart Plugins](//docs.pyrogram.ml/resources/SmartPlugins) work.
25+
- Understand how [Smart Plugins](https://docs.pyrogram.org/topics/smart-plugins) work.
2626
- Create an awesome plugin.
2727
- Make a folder for your plugin and choose a meaningful name.
2828
- Create a python file named the same inside your plugin folder.

0 commit comments

Comments
 (0)
0