Fixed dazabase assignment bug
This commit is contained in:
parent
b436daeb35
commit
09a4ace867
@ -110,12 +110,12 @@ class UserJoinedVoiceChannel(TableABC):
|
||||
UPDATE `UserJoinedVoiceChannel`
|
||||
SET `LeavedOn` = '{self._leaved_on}',
|
||||
`LastModifiedAt` = '{self._modified_at}'
|
||||
WHERE `UserId` = {self._user.user_id};
|
||||
WHERE `JoinId` = {self._join_id};
|
||||
""")
|
||||
|
||||
@property
|
||||
def delete_string(self) -> str:
|
||||
return str(f"""
|
||||
DELETE FROM `UserJoinedVoiceChannel`
|
||||
WHERE `Id` = {self._join_id};
|
||||
WHERE `JoinId` = {self._join_id};
|
||||
""")
|
||||
|
Reference in New Issue
Block a user