mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-03 14:04:51 +00:00
Merge branch 'develop' into plugins
This commit is contained in:
commit
345ac6e16a
2 changed files with 2 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ class Client(Methods, BaseClient):
|
||||||
force_sms: bool = False,
|
force_sms: bool = False,
|
||||||
first_name: str = None,
|
first_name: str = None,
|
||||||
last_name: str = None,
|
last_name: str = None,
|
||||||
workers: int = 4,
|
workers: int = BaseClient.WORKERS,
|
||||||
workdir: str = BaseClient.WORKDIR,
|
workdir: str = BaseClient.WORKDIR,
|
||||||
config_file: str = BaseClient.CONFIG_FILE,
|
config_file: str = BaseClient.CONFIG_FILE,
|
||||||
plugins_dir: str = BaseClient.PLUGINS_DIR):
|
plugins_dir: str = BaseClient.PLUGINS_DIR):
|
||||||
|
|
|
||||||
|
|
@ -49,6 +49,7 @@ class BaseClient:
|
||||||
UPDATES_WORKERS = 1
|
UPDATES_WORKERS = 1
|
||||||
DOWNLOAD_WORKERS = 1
|
DOWNLOAD_WORKERS = 1
|
||||||
OFFLINE_SLEEP = 300
|
OFFLINE_SLEEP = 300
|
||||||
|
WORKERS = 4
|
||||||
WORKDIR = "."
|
WORKDIR = "."
|
||||||
CONFIG_FILE = "./config.ini"
|
CONFIG_FILE = "./config.ini"
|
||||||
PLUGINS_DIR = "./plugins"
|
PLUGINS_DIR = "./plugins"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue