xync-bot 0.3.28__tar.gz → 0.3.29__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.
Potentially problematic release.
This version of xync-bot might be problematic. Click here for more details.
- {xync_bot-0.3.28/xync_bot.egg-info → xync_bot-0.3.29}/PKG-INFO +1 -1
- {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/routers/main/handler.py +2 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29/xync_bot.egg-info}/PKG-INFO +1 -1
- {xync_bot-0.3.28 → xync_bot-0.3.29}/.env.dist +0 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29}/.gitignore +0 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29}/.pre-commit-config.yaml +0 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29}/makefile +0 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29}/pager.py +0 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29}/pyproject.toml +0 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29}/setup.cfg +0 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29}/test_main.http +0 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/__init__.py +0 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/__main__.py +0 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/loader.py +0 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/routers/__init__.py +0 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/routers/cond/__init__.py +0 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/routers/cond/func.py +0 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/routers/main/__init__.py +0 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/routers/order.py +0 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/routers/pay/cd.py +0 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/routers/pay/dep.py +0 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/routers/pay/handler.py +0 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/routers/pay/window.py +0 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/routers/photo.py +0 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/routers/send/__init__.py +0 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/routers/vpn.py +0 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/routers/xicon.png +0 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/shared.py +0 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/store.py +0 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/typs.py +0 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot.egg-info/SOURCES.txt +0 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot.egg-info/dependency_links.txt +0 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot.egg-info/requires.txt +0 -0
- {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot.egg-info/top_level.txt +0 -0
|
@@ -75,6 +75,8 @@ async def arg_handler(msg: Message, command: CommandObject):
|
|
|
75
75
|
arg: dict[str, int | str] = {"id": int(command.args)} if command.args.isnumeric() else {"username": command.args}
|
|
76
76
|
if ref := await models.Username.get_or_none(**arg):
|
|
77
77
|
txt = f"Вас пригласил {ref.username and '@'+ref.username or ref.id}, бонус: комиссия 0% на первые $100 000"
|
|
78
|
+
else:
|
|
79
|
+
txt = f"Привет, {msg.from_user.full_name}! \nWelcome бонус: комиссия 0% на первые $10 000"
|
|
78
80
|
await msg.answer(txt, reply_markup=rm, parse_mode="Markdown")
|
|
79
81
|
|
|
80
82
|
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|