diff --git a/src/commands.py b/src/commands.py index e5b7def..fd143ea 100644 --- a/src/commands.py +++ b/src/commands.py @@ -36,6 +36,15 @@ urlValidator = re.compile( r'(?:/?|[/?]\S+)$', re.IGNORECASE) database = Database() +tasks: {str: {str: Job}} = {} +cache: {str: {str: str}} = {} +updater: Updater = {} + + +# Initialize bot +def init(bot: Bot, u: Updater): + global updater + updater = u def start(update: Update, context: CallbackContext):