Improve note listing

Signed-off-by: Ari Archer <ari.web.xyz@gmail.com>
This commit is contained in:
Ari Archer 2022-08-11 15:44:09 +03:00
parent 6ba14ef218
commit e1f66156af
Signed by untrusted user who does not match committer: ari
GPG key ID: A50D5B4B599AF8A2

View file

@ -222,7 +222,7 @@ class BotCommandsParser:
notes_list: str = (
"\n".join(
f"- `{uncode(''.join(ent))}`"
f"**-** {''.join(ent)}"
for ent in DB_SESSION.query(Note.name).all()
)
or "*No notes found*"