mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 10:11:52 +00:00
Updated pre-commit hook (#681)
* Updated pre-commit config and reformat code * Added changelog
This commit is contained in:
parent
90b3a99039
commit
e356ede5de
20 changed files with 74 additions and 62 deletions
|
|
@ -1,11 +1,11 @@
|
|||
from aiogram.types.inline_keyboard_button import InlineKeyboardButton
|
||||
from aiogram.types.inline_keyboard_markup import InlineKeyboardMarkup
|
||||
from aiogram.dispatcher.router import Router
|
||||
from aiogram.utils.handlers_in_use import get_handlers_in_use
|
||||
import logging
|
||||
|
||||
from aiogram import Bot, Dispatcher
|
||||
from aiogram.types import Message, ChatMemberUpdated, CallbackQuery
|
||||
from aiogram.dispatcher.router import Router
|
||||
from aiogram.types import CallbackQuery, ChatMemberUpdated, Message
|
||||
from aiogram.types.inline_keyboard_button import InlineKeyboardButton
|
||||
from aiogram.types.inline_keyboard_markup import InlineKeyboardMarkup
|
||||
from aiogram.utils.handlers_in_use import get_handlers_in_use
|
||||
|
||||
TOKEN = "6wo"
|
||||
dp = Dispatcher()
|
||||
|
|
@ -51,7 +51,7 @@ sub_sub_router = Router()
|
|||
|
||||
|
||||
@sub_sub_router.edited_message()
|
||||
async def callback_tap_me(edited_message: Message) -> None:
|
||||
async def edited_message_handler(edited_message: Message) -> None:
|
||||
await edited_message.reply("Message was edited, big brother watch you")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue