queue not working

This commit is contained in:
2023-05-10 04:21:36 +03:00
parent 4d065aa93f
commit 8b2fb805b5
9 changed files with 414 additions and 123 deletions

View File

@@ -1,3 +1,4 @@
import os
from os import environ
from pathlib import Path
@@ -42,6 +43,10 @@ class Settings(BaseSettings):
# Enable uvicorn reloading
RELOAD: bool = False
@property
def bot_webhook_url(self) -> str:
return os.path.join(self.WEBHOOK_PATH.strip('/'), self.TELEGRAM_API_TOKEN)
class Config:
case_sensitive = True