From 9b90eb14ff221fe7ee206d7ca014cf2ab3ec3466 Mon Sep 17 00:00:00 2001 From: Dawid Rejowski Date: Sun, 11 Sep 2022 22:52:09 +0200 Subject: [PATCH] Move code to proper directory --- README.md | 2 +- stickerbridge/__init__.py | 1 + bot_commands.py => stickerbridge/bot_commands.py | 0 callbacks.py => stickerbridge/callbacks.py | 0 chat_functions.py => stickerbridge/chat_functions.py | 0 main.py => stickerbridge/main.py | 0 matrix_reuploader.py => stickerbridge/matrix_reuploader.py | 0 sticker_types.py => stickerbridge/sticker_types.py | 0 telegram_exporter.py => stickerbridge/telegram_exporter.py | 0 9 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 stickerbridge/__init__.py rename bot_commands.py => stickerbridge/bot_commands.py (100%) rename callbacks.py => stickerbridge/callbacks.py (100%) rename chat_functions.py => stickerbridge/chat_functions.py (100%) rename main.py => stickerbridge/main.py (100%) rename matrix_reuploader.py => stickerbridge/matrix_reuploader.py (100%) rename sticker_types.py => stickerbridge/sticker_types.py (100%) rename telegram_exporter.py => stickerbridge/telegram_exporter.py (100%) diff --git a/README.md b/README.md index 8684077..60639c5 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ pip install -r requirements.txt ``` - Copy example config file ```cp config.yaml.example config.yaml``` - Fill the config file with creditials for Matrix account and Telegram bot you created -- Run the bot ```python main.py``` +- Run the bot ```python stickerbridge/main.py``` ## Usage Invite the bot in a room (currently does not support encrypted rooms), type ```!sb help``` to list available commands. diff --git a/stickerbridge/__init__.py b/stickerbridge/__init__.py new file mode 100644 index 0000000..4931e8c --- /dev/null +++ b/stickerbridge/__init__.py @@ -0,0 +1 @@ +__author__ = 'Dawid Rejowski ' diff --git a/bot_commands.py b/stickerbridge/bot_commands.py similarity index 100% rename from bot_commands.py rename to stickerbridge/bot_commands.py diff --git a/callbacks.py b/stickerbridge/callbacks.py similarity index 100% rename from callbacks.py rename to stickerbridge/callbacks.py diff --git a/chat_functions.py b/stickerbridge/chat_functions.py similarity index 100% rename from chat_functions.py rename to stickerbridge/chat_functions.py diff --git a/main.py b/stickerbridge/main.py similarity index 100% rename from main.py rename to stickerbridge/main.py diff --git a/matrix_reuploader.py b/stickerbridge/matrix_reuploader.py similarity index 100% rename from matrix_reuploader.py rename to stickerbridge/matrix_reuploader.py diff --git a/sticker_types.py b/stickerbridge/sticker_types.py similarity index 100% rename from sticker_types.py rename to stickerbridge/sticker_types.py diff --git a/telegram_exporter.py b/stickerbridge/telegram_exporter.py similarity index 100% rename from telegram_exporter.py rename to stickerbridge/telegram_exporter.py