Update sherlock command

This commit is contained in:
Nexus 2023-06-03 14:54:25 +01:00
parent 8e0a156e64
commit a922302358
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -1612,7 +1612,7 @@ class OtherCog(commands.Cog):
# If it didn't error, send the results
await ctx.edit(
files=list(map(discord.File, glob.glob(f"{tempdir}/*.csv") + glob.glob(f"{tempdir}/*.txt"))),
files=list(map(discord.File, os.listdir(tempdir))),
embed=discord.Embed(
title="Results",
description=f"```{stdout.decode()[:4000]}```",