refactored bot code

This commit is contained in:
Hosein
2025-12-30 18:57:48 +03:30
parent 67a76250ab
commit a52d62c0fc
15 changed files with 328 additions and 149 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ logger = logging.getLogger(__name__)
async def telegram_webhook(request: Request):
try:
import telebot
from bot import get_bot
from bot.bot import get_bot
bot = get_bot()
json_data = await request.json()