diff --git a/kdb-bot/src/bot_api/config b/kdb-bot/src/bot_api/config index 3c2a8630..cae0f428 160000 --- a/kdb-bot/src/bot_api/config +++ b/kdb-bot/src/bot_api/config @@ -1 +1 @@ -Subproject commit 3c2a863022e6656927b9360875695a6bcdc70ac9 +Subproject commit cae0f428182f686872a0799790479e9900f06cf5 diff --git a/kdb-bot/src/modules/database/database_on_ready_event.py b/kdb-bot/src/modules/database/database_on_ready_event.py index 5eb7df76..bf592bf4 100644 --- a/kdb-bot/src/modules/database/database_on_ready_event.py +++ b/kdb-bot/src/modules/database/database_on_ready_event.py @@ -193,7 +193,7 @@ class DatabaseOnReadyEvent(OnReadyABC): self._logger.warn(__name__, f"User not found in database: {u.id}") self._logger.debug(__name__, f"Add user: {u.id}") - self._users.add_user(User(u.id, 0, server)) + self._users.add_user(User(u.id, 0, None, server)) self._db_context.save_changes() self._logger.debug(__name__, f"Added User: {u.id}")