Skip to content

Commit 74754f2

Browse files
committed
Update SmartPlugins page
1 parent 4512965 commit 74754f2

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

docs/source/resources/SmartPlugins.rst

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,22 @@ Pyrogram embeds a **smart** (automatic) and lightweight plugin system that is me
55
of large projects and to provide a way for creating pluggable components that can be **easily shared** across different
66
Pyrogram applications with **minimal boilerplate code**.
77

8+
.. tip::
9+
10+
Smart Plugins are completely optional and disabled by default.
11+
812
Introduction
913
------------
1014

1115
Prior to the Smart Plugin system, pluggable handlers were already possible. For example, if you wanted to modularize
1216
your applications, you had to do something like this...
1317

14-
.. note:: This is an example application that replies in private chats with two messages: one containing the same
15-
text message you sent and the other containing the reversed text message (e.g.: "pyrogram" -> "pyrogram" and
16-
"margoryp"):
18+
.. note::
19+
20+
This is an example application that replies in private chats with two messages: one containing the same
21+
text message you sent and the other containing the reversed text message.
22+
23+
Example: *"Pyrogram"* replies with *"Pyrogram"* and *"margoryP"*
1724

1825
.. code-block:: text
1926

0 commit comments

Comments
 (0)