mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 18:01:04 +00:00
Migrate to hatchling (#1095)
* Migrate to hatchling instead of poetry, ruff instead of flake8 * Migrate to hatchling instead of poetry, ruff instead of flake8 * Update tests suite * venv? * -m venv? * Change dependencies * Remove venv * Change mypy config * Added changelog * Mark uvloop incompatible with pypy * Update release script * Use internal caching for dependencies * Re-disable cov branches * Added contributing guide
This commit is contained in:
parent
04ccb390d5
commit
f4ce4431f9
58 changed files with 799 additions and 3001 deletions
|
|
@ -48,7 +48,7 @@ async def command_add_bot(message: Message, command: CommandObject, bot: Bot) ->
|
|||
return message.answer("Invalid token")
|
||||
await new_bot.delete_webhook(drop_pending_updates=True)
|
||||
await new_bot.set_webhook(OTHER_BOTS_URL.format(bot_token=command.args))
|
||||
await message.answer(f"Bot @{bot_user.username} successful added")
|
||||
return await message.answer(f"Bot @{bot_user.username} successful added")
|
||||
|
||||
|
||||
async def on_startup(dispatcher: Dispatcher, bot: Bot):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue