From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NO_DNS_FOR_FROM,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from localhost.localdomain (unknown [101.128.125.100]) by gnuweeb.org (Postfix) with ESMTPSA id ED18680DC0; Tue, 13 Sep 2022 10:25:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1663064757; bh=upsEYs/QavucFc5P3fn/NbiORDNONdu/xhj+3qAbsh0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=c9MP797ZwPrpumMfUVMe45sTWBZZI+/PZVa0xQ3iBUoNvZkoD6I43LAHUigauDWbp zyTnWTYhsnL9DzktI/OsyCkHVay1T9ePBU73BNQSvsq1+9nv5U4vtJFCmeGS4bB6hL ONEm44oA+PseaJmp+D7SKPPMDp1GyaDpYhwsz714y0IWUaVjL4TJOF+/f2D1x1Qk1g qc+B6AM6HlOdOxiRPgPVHv+ZNFQUQ2OBYVCnPRgSvxqoriBagyef9yAyfCKy9r2Ckg +BnMsFVxblo5NQrFbZ64iE1HLL/pd8gVWYDRBbj+g8qUmMmahXKoWkBlQgowMWNY6H z+qceUamtKoqQ== From: Muhammad Rizki To: Ammar Faizi Cc: Muhammad Rizki , Alviro Iskandar Setiawan , GNU/Weeb Mailing List Subject: [RFC PATCH v2 01/17] telegram: Move the Telegram bot source code Date: Tue, 13 Sep 2022 17:24:42 +0700 Message-Id: <20220913102458.615-2-kiizuha@gnuweeb.org> X-Mailer: git-send-email 2.34.1.windows.1 In-Reply-To: <20220913102458.615-1-kiizuha@gnuweeb.org> References: <20220913102458.615-1-kiizuha@gnuweeb.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Move them into their own directory because there is another platform bot in the future, so it's better to split them. Acked-by: Ammar Faizi Signed-off-by: Muhammad Rizki --- .gitignore | 2 +- daemon/{ => telegram}/.env.example | 0 daemon/{ => telegram}/config.py.example | 0 daemon/{ => telegram}/db.sql | 0 daemon/{ => telegram}/packages/__init__.py | 0 daemon/{ => telegram}/packages/client.py | 0 daemon/{ => telegram}/packages/decorator.py | 0 daemon/{ => telegram}/packages/plugins/callbacks/del_atom.py | 0 daemon/{ => telegram}/packages/plugins/callbacks/del_chat.py | 0 daemon/{ => telegram}/packages/plugins/commands/debugger.py | 0 daemon/{ => telegram}/packages/plugins/commands/manage_atom.py | 0 .../packages/plugins/commands/manage_broadcast.py | 0 daemon/{ => telegram}/packages/plugins/commands/scrape.py | 0 daemon/{ => telegram}/requirements.txt | 0 daemon/{ => telegram}/run.py | 0 daemon/{ => telegram}/scraper/__init__.py | 0 daemon/{ => telegram}/scraper/bot.py | 0 daemon/{ => telegram}/scraper/db.py | 0 daemon/{ => telegram}/scraper/scraper.py | 0 daemon/{ => telegram}/scraper/utils.py | 0 daemon/{ => telegram}/storage/.gitignore | 0 21 files changed, 1 insertion(+), 1 deletion(-) rename daemon/{ => telegram}/.env.example (100%) rename daemon/{ => telegram}/config.py.example (100%) rename daemon/{ => telegram}/db.sql (100%) rename daemon/{ => telegram}/packages/__init__.py (100%) rename daemon/{ => telegram}/packages/client.py (100%) rename daemon/{ => telegram}/packages/decorator.py (100%) rename daemon/{ => telegram}/packages/plugins/callbacks/del_atom.py (100%) rename daemon/{ => telegram}/packages/plugins/callbacks/del_chat.py (100%) rename daemon/{ => telegram}/packages/plugins/commands/debugger.py (100%) rename daemon/{ => telegram}/packages/plugins/commands/manage_atom.py (100%) rename daemon/{ => telegram}/packages/plugins/commands/manage_broadcast.py (100%) rename daemon/{ => telegram}/packages/plugins/commands/scrape.py (100%) rename daemon/{ => telegram}/requirements.txt (100%) rename daemon/{ => telegram}/run.py (100%) rename daemon/{ => telegram}/scraper/__init__.py (100%) rename daemon/{ => telegram}/scraper/bot.py (100%) rename daemon/{ => telegram}/scraper/db.py (100%) rename daemon/{ => telegram}/scraper/scraper.py (100%) rename daemon/{ => telegram}/scraper/utils.py (100%) rename daemon/{ => telegram}/storage/.gitignore (100%) diff --git a/.gitignore b/.gitignore index 4de282d..3ca3c1b 100644 --- a/.gitignore +++ b/.gitignore @@ -140,4 +140,4 @@ data.json *.patch # configuration file -daemon/config.py +daemon/telegram/config.py diff --git a/daemon/.env.example b/daemon/telegram/.env.example similarity index 100% rename from daemon/.env.example rename to daemon/telegram/.env.example diff --git a/daemon/config.py.example b/daemon/telegram/config.py.example similarity index 100% rename from daemon/config.py.example rename to daemon/telegram/config.py.example diff --git a/daemon/db.sql b/daemon/telegram/db.sql similarity index 100% rename from daemon/db.sql rename to daemon/telegram/db.sql diff --git a/daemon/packages/__init__.py b/daemon/telegram/packages/__init__.py similarity index 100% rename from daemon/packages/__init__.py rename to daemon/telegram/packages/__init__.py diff --git a/daemon/packages/client.py b/daemon/telegram/packages/client.py similarity index 100% rename from daemon/packages/client.py rename to daemon/telegram/packages/client.py diff --git a/daemon/packages/decorator.py b/daemon/telegram/packages/decorator.py similarity index 100% rename from daemon/packages/decorator.py rename to daemon/telegram/packages/decorator.py diff --git a/daemon/packages/plugins/callbacks/del_atom.py b/daemon/telegram/packages/plugins/callbacks/del_atom.py similarity index 100% rename from daemon/packages/plugins/callbacks/del_atom.py rename to daemon/telegram/packages/plugins/callbacks/del_atom.py diff --git a/daemon/packages/plugins/callbacks/del_chat.py b/daemon/telegram/packages/plugins/callbacks/del_chat.py similarity index 100% rename from daemon/packages/plugins/callbacks/del_chat.py rename to daemon/telegram/packages/plugins/callbacks/del_chat.py diff --git a/daemon/packages/plugins/commands/debugger.py b/daemon/telegram/packages/plugins/commands/debugger.py similarity index 100% rename from daemon/packages/plugins/commands/debugger.py rename to daemon/telegram/packages/plugins/commands/debugger.py diff --git a/daemon/packages/plugins/commands/manage_atom.py b/daemon/telegram/packages/plugins/commands/manage_atom.py similarity index 100% rename from daemon/packages/plugins/commands/manage_atom.py rename to daemon/telegram/packages/plugins/commands/manage_atom.py diff --git a/daemon/packages/plugins/commands/manage_broadcast.py b/daemon/telegram/packages/plugins/commands/manage_broadcast.py similarity index 100% rename from daemon/packages/plugins/commands/manage_broadcast.py rename to daemon/telegram/packages/plugins/commands/manage_broadcast.py diff --git a/daemon/packages/plugins/commands/scrape.py b/daemon/telegram/packages/plugins/commands/scrape.py similarity index 100% rename from daemon/packages/plugins/commands/scrape.py rename to daemon/telegram/packages/plugins/commands/scrape.py diff --git a/daemon/requirements.txt b/daemon/telegram/requirements.txt similarity index 100% rename from daemon/requirements.txt rename to daemon/telegram/requirements.txt diff --git a/daemon/run.py b/daemon/telegram/run.py similarity index 100% rename from daemon/run.py rename to daemon/telegram/run.py diff --git a/daemon/scraper/__init__.py b/daemon/telegram/scraper/__init__.py similarity index 100% rename from daemon/scraper/__init__.py rename to daemon/telegram/scraper/__init__.py diff --git a/daemon/scraper/bot.py b/daemon/telegram/scraper/bot.py similarity index 100% rename from daemon/scraper/bot.py rename to daemon/telegram/scraper/bot.py diff --git a/daemon/scraper/db.py b/daemon/telegram/scraper/db.py similarity index 100% rename from daemon/scraper/db.py rename to daemon/telegram/scraper/db.py diff --git a/daemon/scraper/scraper.py b/daemon/telegram/scraper/scraper.py similarity index 100% rename from daemon/scraper/scraper.py rename to daemon/telegram/scraper/scraper.py diff --git a/daemon/scraper/utils.py b/daemon/telegram/scraper/utils.py similarity index 100% rename from daemon/scraper/utils.py rename to daemon/telegram/scraper/utils.py diff --git a/daemon/storage/.gitignore b/daemon/telegram/storage/.gitignore similarity index 100% rename from daemon/storage/.gitignore rename to daemon/telegram/storage/.gitignore -- Muhammad Rizki