diff --git a/bot/src/bot_data/model/user_joined_server.py b/bot/src/bot_data/model/user_joined_server.py index e55cb60d..e31544cb 100644 --- a/bot/src/bot_data/model/user_joined_server.py +++ b/bot/src/bot_data/model/user_joined_server.py @@ -124,6 +124,6 @@ class UserJoinedServer(TableABC): return str( f""" DELETE FROM `UserJoinedServers` - WHERE `Id` = {self._join_id}; + WHERE `JoinId` = {self._join_id}; """ )