diff --git a/Background.py b/src/Background.py similarity index 100% rename from Background.py rename to src/Background.py diff --git a/Commands.py b/src/Commands.py similarity index 93% rename from Commands.py rename to src/Commands.py index 8a8c9d7..1a728df 100644 --- a/Commands.py +++ b/src/Commands.py @@ -1,8 +1,8 @@ from telegram.ext import CallbackContext from telegram import Update -from LimitedList import LimitedList -from Utils import parse_command, config, Section +from src.LimitedList import LimitedList +from src.Utils import parse_command, config, Section def get_watchlist(context: CallbackContext) -> LimitedList: diff --git a/LimitedDict.py b/src/LimitedDict.py similarity index 100% rename from LimitedDict.py rename to src/LimitedDict.py diff --git a/LimitedList.py b/src/LimitedList.py similarity index 100% rename from LimitedList.py rename to src/LimitedList.py diff --git a/Market.py b/src/Market.py similarity index 100% rename from Market.py rename to src/Market.py diff --git a/Mercatus.py b/src/Mercatus.py similarity index 88% rename from Mercatus.py rename to src/Mercatus.py index caa0106..41e92d6 100644 --- a/Mercatus.py +++ b/src/Mercatus.py @@ -2,10 +2,10 @@ from asyncio import sleep from datetime import datetime, timedelta from telegram.ext import Updater, CommandHandler -from Background import interval -from Market import Market -from Utils import persistence, config, Section -from Commands import watchlist_add, watchlist_delete, watchlist_all, watchlist_clear, set_api_key, get_api_key +from src.Background import interval +from src.Market import Market +from src.Utils import persistence, config, Section +from src.Commands import watchlist_add, watchlist_delete, watchlist_all, watchlist_clear, set_api_key, get_api_key updater: Updater = Updater(config['token'], use_context=True, persistence=persistence) diff --git a/Utils.py b/src/Utils.py similarity index 100% rename from Utils.py rename to src/Utils.py diff --git a/config.sample.yml b/src/config.sample.yml similarity index 100% rename from config.sample.yml rename to src/config.sample.yml diff --git a/requirements.txt b/src/requirements.txt similarity index 100% rename from requirements.txt rename to src/requirements.txt