aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmain.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.py b/main.py
index a113b61..ebb03aa 100755
--- a/main.py
+++ b/main.py
@@ -39,10 +39,10 @@ def handle_replies(replies):
answer = reply['text']
for annotation in reply["annotations"]:
a_type = annotation["type"]
- a_extra = annotation["extra"]
+ a_extra = handle_replies(annotation["extra"])
if a_type == "command":
- answer = f"/{answer}: {handle_replies(a_extra)}\n"
+ answer = f"/{answer}: {a_extra}\n"
elif a_type == "link":
answer = f"{a_extra} ({answer})"
elif a_type == "bold":