Added account checker
This commit is contained in:
@@ -3,6 +3,7 @@ import logging
|
||||
import helpers
|
||||
import walladb
|
||||
import constants
|
||||
import account_checker
|
||||
|
||||
from worker import Worker
|
||||
from telegram import Update, InlineKeyboardButton, InlineKeyboardMarkup, ForceReply
|
||||
@@ -445,6 +446,9 @@ def main()->None:
|
||||
p.start()
|
||||
SEARCH_THREADS_LIST.append((product, p))
|
||||
|
||||
p = threading.Thread(target=account_checker.account_checker, args=(3600))
|
||||
p.start()
|
||||
|
||||
"""Start the bot."""
|
||||
# Create the Application and pass it your bot's token.
|
||||
application = Application.builder().get_updates_http_version('1.1').http_version('1.1').token(constants.TELEGRAM_TOKEN).build()
|
||||
|
||||
Reference in New Issue
Block a user