mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Update sherlock command
This commit is contained in:
parent
a922302358
commit
c753655b0f
1 changed files with 3 additions and 3 deletions
|
@ -1571,7 +1571,7 @@ class OtherCog(commands.Cog):
|
|||
f"{tempdir}:/opt/sherlock/results",
|
||||
"sherlock",
|
||||
"--print-found",
|
||||
"--no-color"
|
||||
# "--no-color"
|
||||
]
|
||||
if search_nsfw:
|
||||
command.append("--nsfw")
|
||||
|
@ -1605,7 +1605,7 @@ class OtherCog(commands.Cog):
|
|||
return await ctx.edit(
|
||||
embed=discord.Embed(
|
||||
title="Error",
|
||||
description=f"```{stderr.decode()}```",
|
||||
description=f"```ansi\n{stderr.decode()[:4000]}```",
|
||||
colour=discord.Colour.red(),
|
||||
)
|
||||
)
|
||||
|
@ -1615,7 +1615,7 @@ class OtherCog(commands.Cog):
|
|||
files=list(map(discord.File, os.listdir(tempdir))),
|
||||
embed=discord.Embed(
|
||||
title="Results",
|
||||
description=f"```{stdout.decode()[:4000]}```",
|
||||
description=f"```ansi\n{stdout.decode()[:4000]}```",
|
||||
colour=discord.Colour.green(),
|
||||
),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue