diff --git a/src/discord/cogs/tasks.py b/src/discord/cogs/tasks.py index e669287..61fccb3 100644 --- a/src/discord/cogs/tasks.py +++ b/src/discord/cogs/tasks.py @@ -52,7 +52,7 @@ async def update_disk_space_channel(self): logger.debug(f"All channels: {[channel.name for channel in channels]}") # Look for a channel that starts with "HDD:" - disk_space_channel = next((channel for channel in channels if channel.name.startswith("HDD:")), None) + disk_space_channel = next((channel for channel in channels if channel.name.startswith("Free:")), None) if disk_space_channel is not None: logger.info(f"Found existing channel: {disk_space_channel.name}") diff --git a/src/linux/disk_space.py b/src/linux/disk_space.py index a4aaff5..fd01ad9 100644 --- a/src/linux/disk_space.py +++ b/src/linux/disk_space.py @@ -31,6 +31,6 @@ def get_disk_space() -> str: available_space_gb = values[available_space_index].rstrip('G') total_space_gb = values[total_space_index].rstrip('G') logger.info(f"Available space: {available_space_gb} GB, Total space: {total_space_gb} GB") - return f"{available_space_gb}GB / {total_space_gb}GB" + return f"Free: {available_space_gb}GB" return f"No data found for {target_partition}" \ No newline at end of file