Commit 5d86b2d
Changed files (2)
src/config.py
@@ -214,8 +214,6 @@ class GPT: # see `llm/README.md`
class TID: # see more TID usecase in `src/permission.py`
ADMIN = os.getenv("TID_ADMIN", "")
- # comma separated chat ids of 67373
- GROUP67373 = os.getenv("TID_GROUP67373", "")
# back up ytdlp audio if the user does not request it
CHANNEL_YTDLP_BACKUP = os.getenv("TID_CHANNEL_YTDLP_BACKUP", "me")
src/permission.py
@@ -120,11 +120,6 @@ def check_service(cid: int | str, ctype: str) -> dict:
permission["raw_img"] = True
permission["need_prefix"] = False
- if TID.GROUP67373 and cid in [str(x.strip()).removeprefix("-100") for x in TID.GROUP67373.split(",")]:
- permission["ai"] = True
- permission["prepend_sender_user"] = True
- permission["detail_progress"] = False
-
# global service permission
if not ENABLE.TWITTER:
permission["twitter"] = False