mostly working after the refactor
This commit is contained in:
@@ -128,7 +128,7 @@ async def archive_message(message_id: int) -> bool:
|
||||
"""
|
||||
try:
|
||||
process = await asyncio.create_subprocess_shell(
|
||||
f"himalaya message archive {message_id}",
|
||||
f"himalaya message move Archives {message_id}",
|
||||
stdout=asyncio.subprocess.PIPE,
|
||||
stderr=asyncio.subprocess.PIPE,
|
||||
)
|
||||
@@ -146,7 +146,6 @@ async def get_message_content(message_id: int) -> Tuple[Optional[str], bool]:
|
||||
|
||||
Args:
|
||||
message_id: The ID of the message to retrieve
|
||||
format: The desired format of the message content ("html" or "text")
|
||||
|
||||
Returns:
|
||||
Tuple containing:
|
||||
@@ -176,7 +175,7 @@ async def get_message_content(message_id: int) -> Tuple[Optional[str], bool]:
|
||||
|
||||
|
||||
def sync_himalaya():
|
||||
"""Synchronize data using Himalaya."""
|
||||
"""This command does not exist. Halucinated by AI."""
|
||||
try:
|
||||
# subprocess.run(["himalaya", "sync"], check=True)
|
||||
print("Himalaya sync completed successfully.")
|
||||
|
||||
Reference in New Issue
Block a user