aboutsummaryrefslogtreecommitdiff
path: root/bot.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot.py')
-rw-r--r--bot.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/bot.py b/bot.py
index f2be049..ebb27c9 100644
--- a/bot.py
+++ b/bot.py
@@ -1,8 +1,12 @@
1#!/usr/bin/env python 1#!/usr/bin/env python
2 2
3import logging
4from callback import *
5from telegram.ext import Application, CallbackQueryHandler, CommandHandler, MessageHandler, filters, ConversationHandler 3from telegram.ext import Application, CallbackQueryHandler, CommandHandler, MessageHandler, filters, ConversationHandler
4import logging
5from callback import callback_skip_media, callback_location_sharing, callback_manual_location, \
6 callback_location_confirmation, callback_location_keyword_search, callback_skip_location_keyword, \
7 callback_add_comment, callback_skip_comment, callback_add_media
8from config import WAIT_LOCATION, LOCATION_SEARCH_KEYWORD, LOCATION_CONFIRMATION, ADD_MEDIA, ADD_COMMENT, BOT_TOKEN
9from command import start_command, cancel_command, help_command
6 10
7logging.basicConfig( 11logging.basicConfig(
8 format="%(asctime)s - %(name)s - %(levelname)s - %(message)s", level=logging.INFO 12 format="%(asctime)s - %(name)s - %(levelname)s - %(message)s", level=logging.INFO
Powered by cgit v1.2.3 (git 2.41.0)