|
|
|
|
@ -59,12 +59,11 @@ class Utils:
|
|
|
|
|
@commands.command()
|
|
|
|
|
@commands.is_owner()
|
|
|
|
|
async def sysinfo(self, ctx):
|
|
|
|
|
await ctx.send(f'''
|
|
|
|
|
```ml
|
|
|
|
|
CPU Percentages: {psutil.cpu_percent(percpu=True)}
|
|
|
|
|
Memory Usage: {psutil.virtual_memory().percent}%
|
|
|
|
|
Disc Usage: {psutil.disk_usage("/").percent}%
|
|
|
|
|
```''')
|
|
|
|
|
await ctx.send(f'```ml\n'
|
|
|
|
|
f'CPU Percentages: {psutil.cpu_percent(percpu=True)}\n'
|
|
|
|
|
f'Memory Usage: {psutil.virtual_memory().percent}%\n'
|
|
|
|
|
f'Disc Usage: {psutil.disk_usage("/").percent}%\n'
|
|
|
|
|
f'```')
|
|
|
|
|
|
|
|
|
|
@commands.command(hidden=True)
|
|
|
|
|
async def role(self, ctx, role: str):
|
|
|
|
|
|