

def console(self, channel, payload):
    if self.config['IRC']['show-channel-server']:
        self.rawConsole({
            'text': ('[%s] ' % channel),
            'color': 'gold',
            'extra': payload,
        })
    else:
        self.rawConsole({
            'extra': payload,
        })

dataset/ETHPy150Open benbaptist/minecraft-wrapper/src/irc.py IRC.console/original