|
|
@ -98,10 +98,8 @@ class Command: |
|
|
|
formatted_string = " ".join(self.args) |
|
|
|
new_string = f"* TODO {formatted_string}" |
|
|
|
await send_text_to_room(self.client, self.room.room_id, f"creating new todo with {new_string}") |
|
|
|
print(dir(self.config)) |
|
|
|
with open(self.config.orgmode_refile_path, "a") as orgfile: |
|
|
|
orgfile.write(f"{new_string}\n{due_today}\n") |
|
|
|
# return new_string |
|
|
|
|
|
|
|
async def _unknown_command(self): |
|
|
|
await send_text_to_room( |
|
|
|