memories are now redacted

This commit is contained in:
2023-11-18 12:32:20 +01:00
parent 6b63276dd7
commit c9254a3e88
3 changed files with 20 additions and 6 deletions

View File

@@ -49,7 +49,8 @@ class RandomMemoryJob():
caption =
f"On {chosen_entry.date_pretty}, "
f"{chosen_entry.author} wrote: \n"
f"{chosen_entry.text}"
f"{chosen_entry.spoiler_text}",
parse_mode=ParseMode.HTML
)
else:
await self.bot.send_message(
@@ -57,6 +58,7 @@ class RandomMemoryJob():
text =
f"On {chosen_entry.date_pretty}, "
f"{chosen_entry.author} wrote: \n"
f"{chosen_entry.text}"
f"{chosen_entry.spoiler_text}",
parse_mode=ParseMode.HTML
)