From 61c742c3698beedb30ae7f36c88d84b5219d59f6 Mon Sep 17 00:00:00 2001 From: Yasir Aris M Date: Thu, 23 Nov 2023 10:50:49 +0700 Subject: [PATCH] tes log data notes lama --- misskaty/plugins/notes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/misskaty/plugins/notes.py b/misskaty/plugins/notes.py index b6c3070c..47648794 100644 --- a/misskaty/plugins/notes.py +++ b/misskaty/plugins/notes.py @@ -138,11 +138,12 @@ async def get_notes(_, message): @app.on_message(filters.regex(r"^#.+") & filters.text & ~filters.private) @capture_err -async def get_one_note(_, message): +async def get_one_note(self, message): name = message.text.replace("#", "", 1) if not name: return _note = await get_note(message.chat.id, name) + self.log.info(_note) if not _note: return type = _note["type"]