mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +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)
|
||||
@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"]
|
||||
|
|
|
|||
Loading…
Reference in a new issue