From 63ad74258a8b31ae11e81d4bd1ee0a7c4e271590 Mon Sep 17 00:00:00 2001 From: qweeck Date: Thu, 29 Feb 2024 13:34:31 +1100 Subject: [PATCH] add config.py --- .gitignore | 1 + config.example.py | 1 + vvgu_bot (2).py | 3 +-- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 .gitignore create mode 100644 config.example.py diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f85c6b1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +config.py \ No newline at end of file diff --git a/config.example.py b/config.example.py new file mode 100644 index 0000000..900a0a8 --- /dev/null +++ b/config.example.py @@ -0,0 +1 @@ +API_TOKEN = '' \ No newline at end of file diff --git a/vvgu_bot (2).py b/vvgu_bot (2).py index 60dba65..b8b8b5e 100644 --- a/vvgu_bot (2).py +++ b/vvgu_bot (2).py @@ -24,8 +24,7 @@ from aiogram import executor from docx import Document from docx.shared import Pt - -API_TOKEN = '6683679347:AAGWQPZJlmA228T47N_D13HMnhtKvk3utu8' +from config import API_TOKEN storage = MemoryStorage() bot = Bot(token=API_TOKEN)