some-fixes
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import redis
|
||||
from profile import Profile as ProfileObj
|
||||
from redis import Redis
|
||||
from bot.storage.profile import Profile as ProfileObj
|
||||
from bot.config import REDIS_URL
|
||||
import json
|
||||
|
||||
|
||||
# сохраняет сессии, айди кнопок в чатах для удаления и пересылаемые сообщения между перезагрузками
|
||||
storage = redis.from_url(REDIS_URL)
|
||||
storage = Redis.from_url(REDIS_URL)
|
||||
|
||||
# хранение необходимой информации о пользователях
|
||||
Profile = ProfileObj(storage)
|
||||
|
Reference in New Issue
Block a user