mirror of
https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git
synced 2025-08-14 00:25:46 +02:00
tg
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
from aiogram import Bot, Dispatcher
|
from aiogram import Bot, Dispatcher
|
||||||
from app.bot.config import settings
|
from app.bot.config import settings
|
||||||
|
|
||||||
bot = Bot(token=settings.TELEGRAM_BOT_TOKEN)
|
bot = Bot(token="7677506032:AAHB2QtrxKdgUXLWlE2xXaVxs9V7BPz1fhc")
|
||||||
dp = Dispatcher()
|
dp = Dispatcher()
|
||||||
from .handlers import start, status
|
from .handlers import start, status
|
||||||
|
|
||||||
|
@@ -2,7 +2,7 @@ from pydantic_settings import BaseSettings
|
|||||||
|
|
||||||
|
|
||||||
class Settings(BaseSettings):
|
class Settings(BaseSettings):
|
||||||
TELEGRAM_BOT_TOKEN: str = "7677506032:AAHB2QtrxKdgUXLWlE2xXaVxs9V7BPz1fhc"
|
TELEGRAM_BOT_TOKEN: str = ""
|
||||||
TELEGRAM_CHAT_ID: str = "5057752127"
|
TELEGRAM_CHAT_ID: str = "5057752127"
|
||||||
|
|
||||||
class Config:
|
class Config:
|
||||||
|
Reference in New Issue
Block a user