Skip to content

Commit

Permalink
fix backwards if check on freeze command (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
tsunyoku authored Jan 7, 2024
1 parent 5837257 commit 8caf34a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion constants/chatbotCommands.py
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,7 @@ async def freeze(fro: str, chan: str, message: list[str]) -> str:
if not (targetID := await userUtils.getID(target)):
return "That user does not exist"

if not await userUtils.getFreezeTime(targetID):
if await userUtils.getFreezeTime(targetID):
return "That user is already frozen."

if not reason:
Expand Down

0 comments on commit 8caf34a

Please sign in to comment.