CliRemote 1.7.13__tar.gz → 1.7.14__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.
Files changed (46) hide show
  1. {cliremote-1.7.13 → cliremote-1.7.14}/CliRemote.egg-info/PKG-INFO +1 -1
  2. {cliremote-1.7.13 → cliremote-1.7.14}/PKG-INFO +1 -1
  3. {cliremote-1.7.13 → cliremote-1.7.14}/pyproject.toml +1 -1
  4. {cliremote-1.7.13 → cliremote-1.7.14}/remote/admin_manager.py +7 -7
  5. {cliremote-1.7.13 → cliremote-1.7.14}/setup.py +1 -1
  6. {cliremote-1.7.13 → cliremote-1.7.14}/CliRemote.egg-info/SOURCES.txt +0 -0
  7. {cliremote-1.7.13 → cliremote-1.7.14}/CliRemote.egg-info/dependency_links.txt +0 -0
  8. {cliremote-1.7.13 → cliremote-1.7.14}/CliRemote.egg-info/requires.txt +0 -0
  9. {cliremote-1.7.13 → cliremote-1.7.14}/CliRemote.egg-info/top_level.txt +0 -0
  10. {cliremote-1.7.13 → cliremote-1.7.14}/LICENSE +0 -0
  11. {cliremote-1.7.13 → cliremote-1.7.14}/MANIFEST.in +0 -0
  12. {cliremote-1.7.13 → cliremote-1.7.14}/README.md +0 -0
  13. {cliremote-1.7.13 → cliremote-1.7.14}/remote/__init__.py +0 -0
  14. {cliremote-1.7.13 → cliremote-1.7.14}/remote/account_manager.py +0 -0
  15. {cliremote-1.7.13 → cliremote-1.7.14}/remote/account_viewer.py +0 -0
  16. {cliremote-1.7.13 → cliremote-1.7.14}/remote/analytics_manager.py +0 -0
  17. {cliremote-1.7.13 → cliremote-1.7.14}/remote/batch_manager.py +0 -0
  18. {cliremote-1.7.13 → cliremote-1.7.14}/remote/block_manager.py +0 -0
  19. {cliremote-1.7.13 → cliremote-1.7.14}/remote/caption_manager.py +0 -0
  20. {cliremote-1.7.13 → cliremote-1.7.14}/remote/cleaner.py +0 -0
  21. {cliremote-1.7.13 → cliremote-1.7.14}/remote/client_manager.py +0 -0
  22. {cliremote-1.7.13 → cliremote-1.7.14}/remote/client_picker.py +0 -0
  23. {cliremote-1.7.13 → cliremote-1.7.14}/remote/config.py +0 -0
  24. {cliremote-1.7.13 → cliremote-1.7.14}/remote/device_manager.py +0 -0
  25. {cliremote-1.7.13 → cliremote-1.7.14}/remote/file_sender.py +0 -0
  26. {cliremote-1.7.13 → cliremote-1.7.14}/remote/getcode_controller.py +0 -0
  27. {cliremote-1.7.13 → cliremote-1.7.14}/remote/health.py +0 -0
  28. {cliremote-1.7.13 → cliremote-1.7.14}/remote/help_menu.py +0 -0
  29. {cliremote-1.7.13 → cliremote-1.7.14}/remote/init.py +0 -0
  30. {cliremote-1.7.13 → cliremote-1.7.14}/remote/join_controller.py +0 -0
  31. {cliremote-1.7.13 → cliremote-1.7.14}/remote/joiner.py +0 -0
  32. {cliremote-1.7.13 → cliremote-1.7.14}/remote/leave_controller.py +0 -0
  33. {cliremote-1.7.13 → cliremote-1.7.14}/remote/lefter.py +0 -0
  34. {cliremote-1.7.13 → cliremote-1.7.14}/remote/mention_manager.py +0 -0
  35. {cliremote-1.7.13 → cliremote-1.7.14}/remote/precise_engine.py +0 -0
  36. {cliremote-1.7.13 → cliremote-1.7.14}/remote/profile_info.py +0 -0
  37. {cliremote-1.7.13 → cliremote-1.7.14}/remote/profile_media.py +0 -0
  38. {cliremote-1.7.13 → cliremote-1.7.14}/remote/profile_privacy.py +0 -0
  39. {cliremote-1.7.13 → cliremote-1.7.14}/remote/spammer.py +0 -0
  40. {cliremote-1.7.13 → cliremote-1.7.14}/remote/speed_manager.py +0 -0
  41. {cliremote-1.7.13 → cliremote-1.7.14}/remote/stop_manager.py +0 -0
  42. {cliremote-1.7.13 → cliremote-1.7.14}/remote/text_manager.py +0 -0
  43. {cliremote-1.7.13 → cliremote-1.7.14}/remote/username_manager.py +0 -0
  44. {cliremote-1.7.13 → cliremote-1.7.14}/remote/utils/__init__.py +0 -0
  45. {cliremote-1.7.13 → cliremote-1.7.14}/remote/utils/sqlite_utils.py +0 -0
  46. {cliremote-1.7.13 → cliremote-1.7.14}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: CliRemote
3
- Version: 1.7.13
3
+ Version: 1.7.14
4
4
  Summary: Remote client framework for Telegram automation using Pyrogram
5
5
  Home-page: https://github.com/MohammadAhmadi-R/CliRemote
6
6
  Author: MrAhmadiRad
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: CliRemote
3
- Version: 1.7.13
3
+ Version: 1.7.14
4
4
  Summary: Remote client framework for Telegram automation using Pyrogram
5
5
  Home-page: https://github.com/MohammadAhmadi-R/CliRemote
6
6
  Author: MrAhmadiRad
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "CliRemote"
7
- version = "1.7.13"
7
+ version = "1.7.14"
8
8
  description = "Remote client framework for Telegram automation using Pyrogram"
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
@@ -4,8 +4,8 @@ import os
4
4
  import sys
5
5
  import logging
6
6
  from pathlib import Path
7
- from pyrogram import filters
8
- from .config import OWNER_ID
7
+ from pyrogram import filters
8
+ from . import config
9
9
 
10
10
  # =============================
11
11
  # تنظیم logger فایل
@@ -53,8 +53,8 @@ def load_admins() -> list[int]:
53
53
  بارگذاری لیست ادمین‌ها از فایل.
54
54
  همیشه OWNER_ID را هم به لیست اضافه می‌کند.
55
55
  """
56
- logger.debug(f"Loading admins from file: {ADMINS_FILE} | OWNER_ID: {OWNER_ID}")
57
- s = set(OWNER_ID)
56
+ logger.debug(f"Loading admins from file: {ADMINS_FILE} | OWNER_ID: {config.OWNER_ID}")
57
+ s = set(config.OWNER_ID)
58
58
  try:
59
59
  if os.path.exists(ADMINS_FILE):
60
60
  with open(ADMINS_FILE, "r", encoding="utf-8") as f:
@@ -98,7 +98,7 @@ admin_filter = filters.create(
98
98
  lambda _, __, m: bool(getattr(m, "from_user", None)) and int(m.from_user.id) in ADMINS
99
99
  )
100
100
  owner_filter = filters.create(
101
- lambda _, __, m: bool(getattr(m, "from_user", None)) and int(m.from_user.id) in OWNER_ID
101
+ lambda _, __, m: bool(getattr(m, "from_user", None)) and int(m.from_user.id) in config.OWNER_ID
102
102
  )
103
103
 
104
104
  # =============================
@@ -119,7 +119,7 @@ async def add_admin_cmd(message):
119
119
  uid = int(parts[1])
120
120
  logger.debug(f"add_admin_cmd: parsed target uid={uid}")
121
121
 
122
- if uid in OWNER_ID:
122
+ if uid in config.OWNER_ID:
123
123
  logger.info(f"add_admin_cmd: uid={uid} is OWNER; skip append")
124
124
  await message.reply("ادمین اصلی از قبل وجود دارد")
125
125
  return
@@ -151,7 +151,7 @@ async def del_admin_cmd(message):
151
151
  uid = int(parts[1])
152
152
  logger.debug(f"del_admin_cmd: parsed target uid={uid}")
153
153
 
154
- if uid in OWNER_ID:
154
+ if uid in config.OWNER_ID:
155
155
  logger.info(f"del_admin_cmd: attempt to remove OWNER uid={uid} blocked")
156
156
  await message.reply("❌ امکان حذف ادمین اصلی وجود ندارد")
157
157
  return
@@ -5,7 +5,7 @@ with open("README.md", encoding="utf-8") as f:
5
5
 
6
6
  setup(
7
7
  name="CliRemote",
8
- version="1.7.13",
8
+ version="1.7.14",
9
9
  author="MrAhmadiRad",
10
10
  author_email="mohammadahmadirad69@gmail.com",
11
11
  description="A precise, async-safe, Telegram automation core (Python 3.8+)",
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