import doi def resolvedoi(phenny, input): phenny.say( doi.doi( input.group(2) ) ) phenny.say("finished") resolvedoi.commands = ['doi'];