Merge pull request 'staging' (#435) from staging into master
All checks were successful
Deploy prod on push / on-push-deploy_sh-edraft (push) Successful in 3m34s

Reviewed-on: #435
This commit is contained in:
Sven Heidemann 2023-11-07 20:37:13 +01:00
commit 5de6710261
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 9c0dc595348f9ccd58409cc21171456d9ba85758
Subproject commit b0bacce9f6cd20833560c4889289ac4320f643b6

View File

@ -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()))