Change cloc output to image only
This commit is contained in:
parent
10f331765f
commit
6a4aba2aa7
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue