mirror of
https://github.com/miloszowi/everyone-mention-telegram-bot.git
synced 2025-10-25 08:25:48 +00:00
fixed logging twice same action and added group to log message
This commit is contained in:
@@ -58,4 +58,4 @@ class Logger:
|
||||
|
||||
@staticmethod
|
||||
def action(inbound: InboundMessage, action: str) -> None:
|
||||
Logger.info(f'User {inbound.username}({inbound.user_id}) called {action.upper()} for {inbound.chat_id}')
|
||||
Logger.info(f'User {inbound.username}({inbound.user_id}) called {action.upper()} for {inbound.chat_id}({inbound.group_name})')
|
||||
|
||||
Reference in New Issue
Block a user