diff options
author | clarkzjw <[email protected]> | 2023-02-21 23:39:21 -0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2023-02-21 23:39:21 -0800 |
commit | 8e83ba6c232172956f4d399e7bfdbe4e832e0536 (patch) | |
tree | a4b45633455692257149ed498f9b5cc5ec548ad7 /command.py | |
parent | 3a76618d0f46c7e28641b74a869544661c504e21 (diff) | |
download | swarm2fediverse-8e83ba6c232172956f4d399e7bfdbe4e832e0536.tar.gz |
optimize imports
Diffstat (limited to 'command.py')
-rw-r--r-- | command.py | 13 |
1 files changed, 4 insertions, 9 deletions
@@ -1,13 +1,8 @@ | |||
1 | from config import * | 1 | from telegram import Update |
2 | from telegram.constants import ParseMode | ||
3 | from telegram.ext import ContextTypes, ConversationHandler | ||
2 | 4 | ||
3 | from telegram import __version__ as TG_VER | 5 | from config import * |
4 | from typing import cast, List | ||
5 | from telegram import InlineKeyboardButton, InlineKeyboardMarkup, Update, ReplyKeyboardMarkup, KeyboardButton | ||
6 | from telegram.ext import Application, CallbackQueryHandler, CommandHandler, ContextTypes, MessageHandler, filters, \ | ||
7 | ConversationHandler, CallbackContext | ||
8 | from telegram.constants import ParseMode, ChatAction | ||
9 | from telegram.error import BadRequest | ||
10 | from telegram import InlineKeyboardButton, InlineKeyboardMarkup, ReplyKeyboardRemove | ||
11 | 6 | ||
12 | 7 | ||
13 | async def start_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> int: | 8 | async def start_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> int: |