diff --git a/plugins/_userlogs.py b/plugins/_userlogs.py index 0696ce5..32a8782 100644 --- a/plugins/_userlogs.py +++ b/plugins/_userlogs.py @@ -52,6 +52,8 @@ async def all_messages_catcher(e): if not udB.get_key("TAG_LOG"): return NEEDTOLOG = udB.get_key("TAG_LOG") + if e.chat_id == NEEDTOLOG: + return buttons = await parse_buttons(e) try: sent = await asst.send_message(NEEDTOLOG, e.message, buttons=buttons)