

def log_chat(self, evt, data):
    text = data.get('text', ('[Chat] <%s via %s> %s' % (data['name'], data['type'], evt['message'])))
    logger.info('[Chat] %s', text)

dataset/ETHPy150Open Gjum/Bat/bat/bat.py BatPlugin.log_chat/VarMisuse@36/59 `data`->`evt`