sort imports

This commit is contained in:
unknown 2020-11-09 00:34:51 +03:00
parent 57c6766514
commit f589a1269a
110 changed files with 203 additions and 238 deletions

View file

@ -1,6 +1,6 @@
import logging
from aiogram import Bot, Dispatcher, types, executor
from aiogram import Bot, Dispatcher, executor, types
API_TOKEN = 'API_TOKEN_HERE'

View file

@ -1,7 +1,7 @@
import logging
import random
import uuid
import typing
import uuid
from aiogram import Bot, Dispatcher, executor, md, types
from aiogram.contrib.fsm_storage.memory import MemoryStorage

View file

@ -1,7 +1,6 @@
from aiogram import Bot, Dispatcher, executor, types
from aiogram.dispatcher.handler import SkipHandler
API_TOKEN = 'BOT_TOKEN_HERE'
bot = Bot(token=API_TOKEN)
dp = Dispatcher(bot)

View file

@ -2,8 +2,8 @@ import hashlib
import logging
from aiogram import Bot, Dispatcher, executor
from aiogram.types import InlineQuery, \
InputTextMessageContent, InlineQueryResultArticle
from aiogram.types import (InlineQuery, InlineQueryResultArticle,
InputTextMessageContent)
API_TOKEN = 'BOT_TOKEN_HERE'

View file

@ -6,7 +6,6 @@ import logging
from aiogram import Bot, Dispatcher, executor, types
API_TOKEN = 'BOT_TOKEN_HERE'
# Configure logging

View file

@ -2,7 +2,6 @@ import asyncio
from aiogram import Bot, Dispatcher, executor, filters, types
API_TOKEN = 'BOT_TOKEN_HERE'
bot = Bot(token=API_TOKEN)

View file

@ -1,10 +1,8 @@
from aiogram import Bot
from aiogram import types
from aiogram import Bot, types
from aiogram.dispatcher import Dispatcher
from aiogram.types.message import ContentTypes
from aiogram.utils import executor
BOT_TOKEN = 'BOT_TOKEN_HERE'
PAYMENTS_PROVIDER_TOKEN = '123456789:TEST:1422'

View file

@ -2,7 +2,6 @@ from aiogram import Bot, types
from aiogram.dispatcher import Dispatcher, filters
from aiogram.utils import executor
bot = Bot(token='BOT_TOKEN_HERE', parse_mode=types.ParseMode.HTML)
dp = Dispatcher(bot)

View file

@ -6,7 +6,6 @@ import logging
from aiogram import Bot, Dispatcher, executor, types
API_TOKEN = 'BOT_TOKEN_HERE'
# Configure logging

View file

@ -7,7 +7,6 @@ import logging
from aiogram import Bot, Dispatcher, executor, types
API_TOKEN = 'BOT_TOKEN_HERE'
# Configure logging

View file

@ -12,7 +12,6 @@ from aiogram.dispatcher import Dispatcher
from aiogram.utils.exceptions import Throttled
from aiogram.utils.executor import start_polling
API_TOKEN = 'BOT_TOKEN_HERE'
logging.basicConfig(level=logging.INFO)

View file

@ -6,7 +6,6 @@ from aiogram.dispatcher import Dispatcher
from aiogram.dispatcher.webhook import SendMessage
from aiogram.utils.executor import start_webhook
API_TOKEN = 'BOT_TOKEN_HERE'
# webhook settings

View file

@ -12,9 +12,9 @@ import aiogram
from aiogram import Bot, types
from aiogram.contrib.fsm_storage.memory import MemoryStorage
from aiogram.dispatcher import Dispatcher
from aiogram.dispatcher.webhook import get_new_configured_app, SendMessage
from aiogram.types import ChatType, ParseMode, ContentTypes
from aiogram.utils.markdown import hbold, bold, text, link
from aiogram.dispatcher.webhook import SendMessage, get_new_configured_app
from aiogram.types import ChatType, ContentTypes, ParseMode
from aiogram.utils.markdown import bold, hbold, link, text
TOKEN = 'BOT TOKEN HERE'