xync-bot 0.2.8__tar.gz → 0.2.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {xync_bot-0.2.8 → xync_bot-0.2.9}/PKG-INFO +1 -1
- {xync_bot-0.2.8 → xync_bot-0.2.9}/pyproject.toml +1 -1
- {xync_bot-0.2.8 → xync_bot-0.2.9}/xync_bot/__init__.py +2 -1
- {xync_bot-0.2.8 → xync_bot-0.2.9}/xync_bot.egg-info/PKG-INFO +1 -1
- {xync_bot-0.2.8 → xync_bot-0.2.9}/setup.cfg +0 -0
- {xync_bot-0.2.8 → xync_bot-0.2.9}/xync_bot/handlers/__init__.py +0 -0
- {xync_bot-0.2.8 → xync_bot-0.2.9}/xync_bot/handlers/main.py +0 -0
- {xync_bot-0.2.8 → xync_bot-0.2.9}/xync_bot/handlers/vpn.py +0 -0
- {xync_bot-0.2.8 → xync_bot-0.2.9}/xync_bot/shared.py +0 -0
- {xync_bot-0.2.8 → xync_bot-0.2.9}/xync_bot.egg-info/SOURCES.txt +0 -0
- {xync_bot-0.2.8 → xync_bot-0.2.9}/xync_bot.egg-info/dependency_links.txt +0 -0
- {xync_bot-0.2.8 → xync_bot-0.2.9}/xync_bot.egg-info/requires.txt +0 -0
- {xync_bot-0.2.8 → xync_bot-0.2.9}/xync_bot.egg-info/top_level.txt +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
from aiogram.client.default import DefaultBotProperties
|
|
1
2
|
from aiogram.types import MenuButtonWebApp, WebAppInfo
|
|
2
3
|
import logging
|
|
3
4
|
from os import getenv as env
|
|
@@ -11,7 +12,7 @@ load_dotenv()
|
|
|
11
12
|
|
|
12
13
|
logging.basicConfig(filemode='a', level=logging.DEBUG)
|
|
13
14
|
|
|
14
|
-
bot = Bot(token=env('TOKEN'), parse_mode='Markdown')
|
|
15
|
+
bot = Bot(token=env('TOKEN'), default=DefaultBotProperties(parse_mode='Markdown'))
|
|
15
16
|
dp = Dispatcher(bot=bot)
|
|
16
17
|
|
|
17
18
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|