Visitar URL original
Add plugins_dir docstrings in Client class definition · ryuuzake/pyrogram@8e238cc · GitHub
Skip to content

Commit 8e238cc

Browse files
committed
Add plugins_dir docstrings in Client class definition
1 parent 96b3997 commit 8e238cc

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎pyrogram/client/client.py‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,11 @@ class Client(Methods, BaseClient):
142142
143143
config_file (``str``, *optional*):
144144
Path of the configuration file. Defaults to ./config.ini
145+
146+
plugins_dir (``str``, *optional*):
147+
Define a custom directory for your plugins. The plugins directory is the location in your
148+
filesystem where Pyrogram will automatically load your update handlers.
149+
Defaults to "./plugins". Set to None to completely disable plugins.
145150
"""
146151

147152
def __init__(self,

0 commit comments

Comments
 (0)