Skip to content

Commit 0737119

Browse files
committed
lib: fix
1 parent ab67902 commit 0737119

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

discordbotlinuxmonitor/__main__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ async def ports(interaction: discord.Interaction) -> None: # type: ignore
114114
async def list_processes(interaction: discord.Interaction) -> None: # type: ignore
115115
await discord_bot_linux_monitor.list_processes(interaction, order_by_ram=True)
116116

117-
@discord_bot.tree.command(name="list_processes_ordered_by_cpu_usage", description="[Private] 📋 List active processes (ordered by CPU usage) 📋")
118-
async def list_processes(interaction: discord.Interaction) -> None: # type: ignore
117+
@discord_bot.tree.command(name="list_processes_by_cpu_usage", description="[Private] 📋 List active processes (ordered by CPU usage) 📋")
118+
async def list_processes_by_cpu_usage(interaction: discord.Interaction) -> None: # type: ignore
119119
await discord_bot_linux_monitor.list_processes(interaction, order_by_ram=False)
120120

121121
@discord_bot.tree.command(name="kill_process", description="[Private] 🚫 Stop a process by PID 🚫")

discordbotlinuxmonitor/discordbotlinuxmonitor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
__license__ = "MIT License"
3434
__copyright__ = "Copyright Quentin Comte-Gaz (2024)"
3535
__python_version__ = "3.+"
36-
__version__ = "1.4.1 (2024/10/07)"
36+
__version__ = "1.4.2 (2024/10/07)"
3737
__status__ = "Usable for any Linux project"
3838

3939
# pyright: reportMissingTypeStubs=false

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
setup(
88
name="DiscordBotLinuxMonitor",
9-
version="1.4.1",
9+
version="1.4.2",
1010
description="From discord channels: Get information and warning status of Linux server like service, port, ping, ssl certificate, disk/folder/cpu/ram/swap usage, ip connection, ... (Python and shell library, Linux ONLY)",
1111
long_description=readme,
1212
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)