From 2be3e5e1d5574bac63ae8fb72e3404fa1e0b033e Mon Sep 17 00:00:00 2001 From: wheelchairy Date: Wed, 26 Mar 2025 23:52:38 +0300 Subject: [PATCH] Small change: don't use tokens.py right away, make .py.example so we don't accidentally merge our tokens. This is important. --- .gitignore | 3 ++- tokens.py.example | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 tokens.py.example diff --git a/.gitignore b/.gitignore index fe0f395..871a26b 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ test.py *.session *.session-journal __pycache__ -*/__pycache__ \ No newline at end of file +*/__pycache__ +tokens.py diff --git a/tokens.py.example b/tokens.py.example new file mode 100644 index 0000000..8e5681f --- /dev/null +++ b/tokens.py.example @@ -0,0 +1,7 @@ +""" И ПОЖАЛУЙСТА. ДАЖЕ НЕ ПРОБУЙТЕ ИСПОЛЬЗОВАТЬ КЛЮЧИ ОТСЮДА, КЛИЕНТ ИХ НЕ ПРИМЕТ И ТЕЛЕТОН ТОЖЕ""" +""" СДЕЛАЙТЕ cp tokens.py.example в tokens.py И ПОДРЕДАКТИРУЙТЕ ПОД СВОИ КЛЮЧИ """ +""" СПАСИБО """ +"""Получите свои API-ключи на https://my.telegram.org/apps""" + +api_id = 12345 +api_hash = "0123456789abcdef"