Change cloc output to image only

This commit is contained in:
Zeva Rose 2022-06-24 16:59:33 -06:00
parent 10f331765f
commit 6a4aba2aa7

View file

@ -292,7 +292,7 @@ class DevCog(Extension):
file_bytes.write(raw)
file_bytes.seek(0)
tokei = File(file_bytes, file_name="tokei.png")
await ctx.send(content=f"```ansi\n{capture.get()}\n```", file=tokei)
await ctx.send(file=tokei)
def setup(bot: Client) -> None: