#!/usr/bin/python3 # See the LICENSE file for licensing information import re nick = 'seddy' server = 'chat.freenode.net' channel = '#example' gecos = 'A text processing bot' receive = '/tmp/{0}.in'.format(server) send = '/tmp/{0}.out'.format(server) parse_msg = re.compile(channel + ' :(.*)') parse_sed = re.compile('(?