aboutsummaryrefslogtreecommitdiff
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 /command.py
parent3a76618d0f46c7e28641b74a869544661c504e21 (diff)
downloadswarm2fediverse-8e83ba6c232172956f4d399e7bfdbe4e832e0536.tar.gz
optimize imports
Diffstat (limited to 'command.py')
-rw-r--r--command.py13
1 files changed, 4 insertions, 9 deletions
diff --git a/command.py b/command.py
index 753b0a2..09340fc 100644
--- a/command.py
+++ b/command.py
@@ -1,13 +1,8 @@
1from config import * 1from telegram import Update
2from telegram.constants import ParseMode
3from telegram.ext import ContextTypes, ConversationHandler
2 4
3from telegram import __version__ as TG_VER 5from config import *
4from typing import cast, List
5from telegram import InlineKeyboardButton, InlineKeyboardMarkup, Update, ReplyKeyboardMarkup, KeyboardButton
6from telegram.ext import Application, CallbackQueryHandler, CommandHandler, ContextTypes, MessageHandler, filters, \
7 ConversationHandler, CallbackContext
8from telegram.constants import ParseMode, ChatAction
9from telegram.error import BadRequest
10from telegram import InlineKeyboardButton, InlineKeyboardMarkup, ReplyKeyboardRemove
11 6
12 7
13async def start_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> int: 8async def start_command(update: Update, context: ContextTypes.DEFAULT_TYPE) -> int:
Powered by cgit v1.2.3 (git 2.41.0)