mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-07 12:24:51 +00:00
tes log data notes lama
This commit is contained in:
parent
8475225d68
commit
61c742c369
1 changed files with 2 additions and 1 deletions
|
|
@ -138,11 +138,12 @@ async def get_notes(_, message):
|
||||||
|
|
||||||
@app.on_message(filters.regex(r"^#.+") & filters.text & ~filters.private)
|
@app.on_message(filters.regex(r"^#.+") & filters.text & ~filters.private)
|
||||||
@capture_err
|
@capture_err
|
||||||
async def get_one_note(_, message):
|
async def get_one_note(self, message):
|
||||||
name = message.text.replace("#", "", 1)
|
name = message.text.replace("#", "", 1)
|
||||||
if not name:
|
if not name:
|
||||||
return
|
return
|
||||||
_note = await get_note(message.chat.id, name)
|
_note = await get_note(message.chat.id, name)
|
||||||
|
self.log.info(_note)
|
||||||
if not _note:
|
if not _note:
|
||||||
return
|
return
|
||||||
type = _note["type"]
|
type = _note["type"]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue