aboutsummaryrefslogtreecommitdiff
path: root/bot.py
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2023-02-21 23:39:21 -0800
committerclarkzjw <[email protected]>2023-02-21 23:39:21 -0800
commit8e83ba6c232172956f4d399e7bfdbe4e832e0536 (patch)
treea4b45633455692257149ed498f9b5cc5ec548ad7 /bot.py
parent3a76618d0f46c7e28641b74a869544661c504e21 (diff)
downloadswarm2fediverse-8e83ba6c232172956f4d399e7bfdbe4e832e0536.tar.gz
optimize imports
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)