mirror of
https://github.com/cupcakearmy/mercatus.git
synced 2025-09-07 19:20:41 +00:00
move to src folder
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
from telegram.ext import CallbackContext
|
from telegram.ext import CallbackContext
|
||||||
from telegram import Update
|
from telegram import Update
|
||||||
|
|
||||||
from LimitedList import LimitedList
|
from src.LimitedList import LimitedList
|
||||||
from Utils import parse_command, config, Section
|
from src.Utils import parse_command, config, Section
|
||||||
|
|
||||||
|
|
||||||
def get_watchlist(context: CallbackContext) -> LimitedList:
|
def get_watchlist(context: CallbackContext) -> LimitedList:
|
@@ -2,10 +2,10 @@ from asyncio import sleep
|
|||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
from telegram.ext import Updater, CommandHandler
|
from telegram.ext import Updater, CommandHandler
|
||||||
|
|
||||||
from Background import interval
|
from src.Background import interval
|
||||||
from Market import Market
|
from src.Market import Market
|
||||||
from Utils import persistence, config, Section
|
from src.Utils import persistence, config, Section
|
||||||
from Commands import watchlist_add, watchlist_delete, watchlist_all, watchlist_clear, set_api_key, get_api_key
|
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)
|
updater: Updater = Updater(config['token'], use_context=True, persistence=persistence)
|
||||||
|
|
Reference in New Issue
Block a user