feat: use id instead of name and predefined value instead of iterate over dialogs

This commit is contained in:
tiennm99 committed 2026-02-26 11:39:13 +07:00
1 parent 685711d7b8
commit 1073e06d15
3 files changed
+17 -14

No files matched your search

+2 -1
View File
@@ -12,4 +12,5 @@ proxy_host = os.getenv('PROXY_HOST')
proxy_port = int(os.getenv('PROXY_PORT', '0')) if os.getenv('PROXY_PORT') else None
proxy_secret = os.getenv('PROXY_SECRET')
group_names_to_export = ['ZingPlay Game Studios', 'ZPS HCM', 'ZPS HCM - Xin nghỉ (phép/đi trễ)'] # Add the group names you want to export here
group_ids_str = os.getenv('GROUP_IDS', '')
group_ids = [int(id.strip()) for id in group_ids_str.split(',') if id.strip()] if group_ids_str else []