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.

Files changed (34) hide show
  1. {xync_bot-0.3.28/xync_bot.egg-info → xync_bot-0.3.29}/PKG-INFO +1 -1
  2. {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/routers/main/handler.py +2 -0
  3. {xync_bot-0.3.28 → xync_bot-0.3.29/xync_bot.egg-info}/PKG-INFO +1 -1
  4. {xync_bot-0.3.28 → xync_bot-0.3.29}/.env.dist +0 -0
  5. {xync_bot-0.3.28 → xync_bot-0.3.29}/.gitignore +0 -0
  6. {xync_bot-0.3.28 → xync_bot-0.3.29}/.pre-commit-config.yaml +0 -0
  7. {xync_bot-0.3.28 → xync_bot-0.3.29}/makefile +0 -0
  8. {xync_bot-0.3.28 → xync_bot-0.3.29}/pager.py +0 -0
  9. {xync_bot-0.3.28 → xync_bot-0.3.29}/pyproject.toml +0 -0
  10. {xync_bot-0.3.28 → xync_bot-0.3.29}/setup.cfg +0 -0
  11. {xync_bot-0.3.28 → xync_bot-0.3.29}/test_main.http +0 -0
  12. {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/__init__.py +0 -0
  13. {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/__main__.py +0 -0
  14. {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/loader.py +0 -0
  15. {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/routers/__init__.py +0 -0
  16. {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/routers/cond/__init__.py +0 -0
  17. {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/routers/cond/func.py +0 -0
  18. {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/routers/main/__init__.py +0 -0
  19. {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/routers/order.py +0 -0
  20. {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/routers/pay/cd.py +0 -0
  21. {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/routers/pay/dep.py +0 -0
  22. {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/routers/pay/handler.py +0 -0
  23. {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/routers/pay/window.py +0 -0
  24. {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/routers/photo.py +0 -0
  25. {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/routers/send/__init__.py +0 -0
  26. {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/routers/vpn.py +0 -0
  27. {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/routers/xicon.png +0 -0
  28. {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/shared.py +0 -0
  29. {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/store.py +0 -0
  30. {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot/typs.py +0 -0
  31. {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot.egg-info/SOURCES.txt +0 -0
  32. {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot.egg-info/dependency_links.txt +0 -0
  33. {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot.egg-info/requires.txt +0 -0
  34. {xync_bot-0.3.28 → xync_bot-0.3.29}/xync_bot.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xync-bot
3
- Version: 0.3.28
3
+ Version: 0.3.29
4
4
  Summary: Telegram bot with web app for xync net
5
5
  Author-email: Artemiev <mixartemev@gmail.com>
6
6
  License-Expression: GPL-3.0-or-later
@@ -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
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xync-bot
3
- Version: 0.3.28
3
+ Version: 0.3.29
4
4
  Summary: Telegram bot with web app for xync net
5
5
  Author-email: Artemiev <mixartemev@gmail.com>
6
6
  License-Expression: GPL-3.0-or-later
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