mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-20 02:26:32 +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",
|
f"{tempdir}:/opt/sherlock/results",
|
||||||
"sherlock",
|
"sherlock",
|
||||||
"--print-found",
|
"--print-found",
|
||||||
"--no-color"
|
# "--no-color"
|
||||||
]
|
]
|
||||||
if search_nsfw:
|
if search_nsfw:
|
||||||
command.append("--nsfw")
|
command.append("--nsfw")
|
||||||
|
@ -1605,7 +1605,7 @@ class OtherCog(commands.Cog):
|
||||||
return await ctx.edit(
|
return await ctx.edit(
|
||||||
embed=discord.Embed(
|
embed=discord.Embed(
|
||||||
title="Error",
|
title="Error",
|
||||||
description=f"```{stderr.decode()}```",
|
description=f"```ansi\n{stderr.decode()[:4000]}```",
|
||||||
colour=discord.Colour.red(),
|
colour=discord.Colour.red(),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
@ -1615,7 +1615,7 @@ class OtherCog(commands.Cog):
|
||||||
files=list(map(discord.File, os.listdir(tempdir))),
|
files=list(map(discord.File, os.listdir(tempdir))),
|
||||||
embed=discord.Embed(
|
embed=discord.Embed(
|
||||||
title="Results",
|
title="Results",
|
||||||
description=f"```{stdout.decode()[:4000]}```",
|
description=f"```ansi\n{stdout.decode()[:4000]}```",
|
||||||
colour=discord.Colour.green(),
|
colour=discord.Colour.green(),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue