A-0.3 - Basismodul #36
@ -110,12 +110,12 @@ class UserJoinedVoiceChannel(TableABC):
|
|||||||
UPDATE `UserJoinedVoiceChannel`
|
UPDATE `UserJoinedVoiceChannel`
|
||||||
SET `LeavedOn` = '{self._leaved_on}',
|
SET `LeavedOn` = '{self._leaved_on}',
|
||||||
`LastModifiedAt` = '{self._modified_at}'
|
`LastModifiedAt` = '{self._modified_at}'
|
||||||
WHERE `UserId` = {self._user.user_id};
|
WHERE `JoinId` = {self._join_id};
|
||||||
""")
|
""")
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def delete_string(self) -> str:
|
def delete_string(self) -> str:
|
||||||
return str(f"""
|
return str(f"""
|
||||||
DELETE FROM `UserJoinedVoiceChannel`
|
DELETE FROM `UserJoinedVoiceChannel`
|
||||||
WHERE `Id` = {self._join_id};
|
WHERE `JoinId` = {self._join_id};
|
||||||
""")
|
""")
|
||||||
|
Reference in New Issue
Block a user