From 8e238ccc9adaf44c6443c3b51d5bf5d860474dac Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Sat, 13 Oct 2018 11:14:26 +0200 Subject: [PATCH] Add plugins_dir docstrings in Client class definition --- pyrogram/client/client.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pyrogram/client/client.py b/pyrogram/client/client.py index a34f0967..f211cb16 100644 --- a/pyrogram/client/client.py +++ b/pyrogram/client/client.py @@ -142,6 +142,11 @@ class Client(Methods, BaseClient): config_file (``str``, *optional*): Path of the configuration file. Defaults to ./config.ini + + plugins_dir (``str``, *optional*): + Define a custom directory for your plugins. The plugins directory is the location in your + filesystem where Pyrogram will automatically load your update handlers. + Defaults to "./plugins". Set to None to completely disable plugins. """ def __init__(self,