diff --git a/bot/docker b/bot/docker index 9c0dc595..b0bacce9 160000 --- a/bot/docker +++ b/bot/docker @@ -1 +1 @@ -Subproject commit 9c0dc595348f9ccd58409cc21171456d9ba85758 +Subproject commit b0bacce9f6cd20833560c4889289ac4320f643b6 diff --git a/bot/src/modules/base/events/base_on_member_join_event.py b/bot/src/modules/base/events/base_on_member_join_event.py index a3e9d456..35a5cf05 100644 --- a/bot/src/modules/base/events/base_on_member_join_event.py +++ b/bot/src/modules/base/events/base_on_member_join_event.py @@ -82,7 +82,7 @@ class BaseOnMemberJoinEvent(OnMemberJoinABC): return self._logger.debug(__name__, f"Add user: {member.id}") - self._users.add_user(User(member.id, 0, 0, 0, server)) + self._users.add_user(User(member.id, 0, 0, 0, None, server)) self._db.save_changes() user = self._users.get_user_by_discord_id_and_server_id(member.id, server.id) self._user_joins.add_user_joined_server(UserJoinedServer(user, datetime.now()))