From 8e83ba6c232172956f4d399e7bfdbe4e832e0536 Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Tue, 21 Feb 2023 23:39:21 -0800 Subject: optimize imports --- bot.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'bot.py') diff --git a/bot.py b/bot.py index f2be049..ebb27c9 100644 --- a/bot.py +++ b/bot.py @@ -1,8 +1,12 @@ #!/usr/bin/env python -import logging -from callback import * from telegram.ext import Application, CallbackQueryHandler, CommandHandler, MessageHandler, filters, ConversationHandler +import logging +from callback import callback_skip_media, callback_location_sharing, callback_manual_location, \ + callback_location_confirmation, callback_location_keyword_search, callback_skip_location_keyword, \ + callback_add_comment, callback_skip_comment, callback_add_media +from config import WAIT_LOCATION, LOCATION_SEARCH_KEYWORD, LOCATION_CONFIRMATION, ADD_MEDIA, ADD_COMMENT, BOT_TOKEN +from command import start_command, cancel_command, help_command logging.basicConfig( format="%(asctime)s - %(name)s - %(levelname)s - %(message)s", level=logging.INFO -- cgit v1.2.3