From 81adf0f659042feabcbaccbed9a99a76e1efa93d Mon Sep 17 00:00:00 2001 From: esefxdz Date: Sat, 6 Jun 2026 11:56:35 +0300 Subject: [PATCH] fixed render issue --- .vscode/PythonImportHelper-v2-Completion.json | 2 +- cogs/sysinfo.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.vscode/PythonImportHelper-v2-Completion.json b/.vscode/PythonImportHelper-v2-Completion.json index beac83e..ce1edfb 100644 --- a/.vscode/PythonImportHelper-v2-Completion.json +++ b/.vscode/PythonImportHelper-v2-Completion.json @@ -159,7 +159,7 @@ "kind": 6, "importPath": "cogs.sysinfo", "description": "cogs.sysinfo", - "peekOfCode": "class SysInfo(commands.Cog):\n def __init__(self,bot):\n self.bot = bot\n @commands.command()\n async def fetch(self, ctx):\n result = subprocess.run(['fastfetch'], capture_output=True, text=True)\n await ctx.reply(f'```\\n{result.stdout}\\n```')\nasync def setup(bot):\n await bot.add_cog(SysInfo(bot))", + "peekOfCode": "class SysInfo(commands.Cog):\n def __init__(self,bot):\n self.bot = bot\n @commands.command()\n async def fetch(self, ctx):\n result = subprocess.run(['fastfetch', '--nocolor', '--no-logo'], capture_output=True, text=True)\n await ctx.reply(f'```\\n{result.stdout}\\n```')\nasync def setup(bot):\n await bot.add_cog(SysInfo(bot))", "detail": "cogs.sysinfo", "documentation": {} }, diff --git a/cogs/sysinfo.py b/cogs/sysinfo.py index 7545551..cdd43c9 100644 --- a/cogs/sysinfo.py +++ b/cogs/sysinfo.py @@ -8,7 +8,7 @@ class SysInfo(commands.Cog): @commands.command() async def fetch(self, ctx): - result = subprocess.run(['fastfetch'], capture_output=True, text=True) + result = subprocess.run(['fastfetch', '--nocolor', '--no-logo'], capture_output=True, text=True) await ctx.reply(f'```\n{result.stdout}\n```')