Created
February 15, 2012 20:10
-
-
Save eka/1838691 to your computer and use it in GitHub Desktop.
phenny module - log channels conversations
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
log.py - Phenny Log Module | |
Copyright (c) Esteban Feldman | |
BSD License | |
http://github.com/eka/ | |
""" | |
from datetime import datetime | |
def f_log(phenny, input): | |
print '%s - %s - %s: %s' % (datetime.utcnow().strftime('%m-%d-%Y %H:%M:%S'), input.sender, input.nick, input) | |
f_log.rule = r'(.+)' | |
f_log.priority = 'high' | |
f_log.thread = False |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment