Small change: don't use tokens.py right away, make .py.example so we don't accidentally merge our tokens. This is important.

This commit is contained in:
wheelchairy 2025-03-26 23:52:38 +03:00
parent 4618f9edb8
commit 2be3e5e1d5
2 changed files with 9 additions and 1 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ test.py
*.session-journal
__pycache__
*/__pycache__
tokens.py

7
tokens.py.example Normal file
View File

@ -0,0 +1,7 @@
""" И ПОЖАЛУЙСТА. ДАЖЕ НЕ ПРОБУЙТЕ ИСПОЛЬЗОВАТЬ КЛЮЧИ ОТСЮДА, КЛИЕНТ ИХ НЕ ПРИМЕТ И ТЕЛЕТОН ТОЖЕ"""
""" СДЕЛАЙТЕ cp tokens.py.example в tokens.py И ПОДРЕДАКТИРУЙТЕ ПОД СВОИ КЛЮЧИ """
""" СПАСИБО """
"""Получите свои API-ключи на https://my.telegram.org/apps"""
api_id = 12345
api_hash = "0123456789abcdef"