mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Add more redacted lines
This commit is contained in:
parent
8f94fbed2d
commit
71e7637705
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue