A-0.3 - Basismodul #36
@ -201,7 +201,7 @@ class Database(ModuleABC, OnReadyABC):
|
|||||||
self._logger.trace(__name__, f'User {u.id} is ignored, because its a bot')
|
self._logger.trace(__name__, f'User {u.id} is ignored, because its a bot')
|
||||||
continue
|
continue
|
||||||
|
|
||||||
user = self._users.find_user_by_discord_id(u.id)
|
user = self._users.find_user_by_discord_id_and_server_id(u.id, server.server_id)
|
||||||
if user is None:
|
if user is None:
|
||||||
self._logger.fatal(__name__, f'User not found in database: {u.id}')
|
self._logger.fatal(__name__, f'User not found in database: {u.id}')
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user