From bfeddafed5d965931d9132fdb50db2882da379e7 Mon Sep 17 00:00:00 2001 From: Yasir Aris M Date: Sat, 10 Aug 2024 09:08:38 +0700 Subject: [PATCH] Forget --- misskaty/plugins/notes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misskaty/plugins/notes.py b/misskaty/plugins/notes.py index 484cfd0c..b1561dd3 100644 --- a/misskaty/plugins/notes.py +++ b/misskaty/plugins/notes.py @@ -163,7 +163,7 @@ async def get_one_note(_, message): _note = await get_note(chat_id, name) if not _note: return - type = _note("type") + type = _note.get("type") data = _note.get("data") file_id = _note.get("file_id") keyb = None