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
bc6acf52a4
commit
8e0a156e64
1 changed files with 2 additions and 2 deletions
|
@ -1602,7 +1602,7 @@ class OtherCog(commands.Cog):
|
|||
pass
|
||||
# If it errored, send the error
|
||||
if result.returncode != 0:
|
||||
return await ctx.respond(
|
||||
return await ctx.edit(
|
||||
embed=discord.Embed(
|
||||
title="Error",
|
||||
description=f"```{stderr.decode()}```",
|
||||
|
@ -1611,7 +1611,7 @@ class OtherCog(commands.Cog):
|
|||
)
|
||||
# If it didn't error, send the results
|
||||
|
||||
await ctx.respond(
|
||||
await ctx.edit(
|
||||
files=list(map(discord.File, glob.glob(f"{tempdir}/*.csv") + glob.glob(f"{tempdir}/*.txt"))),
|
||||
embed=discord.Embed(
|
||||
title="Results",
|
||||
|
|
Loading…
Reference in a new issue