add config.py

This commit is contained in:
qweeck 2024-02-29 13:34:31 +11:00
parent 39ccdcc4d4
commit 63ad74258a
3 changed files with 3 additions and 2 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
config.py

1
config.example.py Normal file
View File

@ -0,0 +1 @@
API_TOKEN = ''

View File

@ -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)