From aed224f9a2970d01c80ff31dbe69fed642872b20 Mon Sep 17 00:00:00 2001 From: thedragonsinn <98635854+thedragonsinn@users.noreply.github.com> Date: Fri, 28 Jun 2024 19:37:11 +0530 Subject: [PATCH] be quiet when installing module reqs. --- app/extra_config.py | 2 +- scripts/install_external_modules.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/extra_config.py b/app/extra_config.py index 7ec3f95..4ada626 100644 --- a/app/extra_config.py +++ b/app/extra_config.py @@ -4,7 +4,7 @@ ALIVE_MEDIA: str = environ.get( "ALIVE_MEDIA", "https://telegra.ph/file/a1d35a86c7f54a96188a9.png" ) -BOT_NAME = "PLAIN-UB" +BOT_NAME = environ.get("BOT_NAME", "PLAIN-UB") DISABLED_SUPERUSERS: list[int] = [] diff --git a/scripts/install_external_modules.sh b/scripts/install_external_modules.sh index 9e7ecc8..13e714e 100755 --- a/scripts/install_external_modules.sh +++ b/scripts/install_external_modules.sh @@ -5,6 +5,6 @@ fi git clone "${EXTRA_MODULES_REPO}" "app/modules" -pip install -r app/modules/req*txt +pip -q install --no-cache-dir -r req*.txt