Add more redacted lines

This commit is contained in:
nexy7574 2023-12-05 21:15:34 +00:00
parent 8f94fbed2d
commit 71e7637705

View file

@ -2355,7 +2355,7 @@ class OtherCog(commands.Cog):
for line in stdout.splitlines(): for line in stdout.splitlines():
if line.startswith(">>> Last update"): if line.startswith(">>> Last update"):
break break
if "REDACTED" in line: if "REDACTED" in line or "Please query the WHOIS server of the owning registrar" in line:
redacted.write(line.encode() + b"\n") redacted.write(line.encode() + b"\n")
else: else:
paginator.add_line(line) paginator.add_line(line)