some-fixes

This commit is contained in:
2023-09-11 21:40:24 +03:00
parent 071b7739f2
commit 4be2dc3a45
12 changed files with 9 additions and 58 deletions

View File

@@ -1,5 +1,3 @@
from sanic import Sanic
from sanic.response import text
from bot.handlers.handle_feedback import handle_feedback, handle_answer
from bot.handlers.handle_members_change import handle_join, handle_left
from bot.handlers.handle_join_request import handle_join_request
@@ -13,10 +11,11 @@ from bot.handlers.handle_startup import handle_startup
from bot.api import register_webhook, send_message
from bot.config import FEEDBACK_CHAT_ID
from bot.state import State
from sanic.app import Sanic
app = Sanic(name="welcomecenter")
app.config.LOGGING = True
app.config.REGISTERED = False
state = State()