From 38093ab81798052d012d1db555c83d1bc6def693 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Tue, 7 Nov 2023 18:27:57 +0100 Subject: [PATCH 1/2] Removed maintenance mode --- bot/docker | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 650f612a6bfd054e03f4dd2a66144b6ab5e68c49 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Tue, 7 Nov 2023 20:36:29 +0100 Subject: [PATCH 2/2] Fixed base on member join --- bot/src/modules/base/events/base_on_member_join_event.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()))