Created
April 16, 2011 20:02
-
-
Save EntityReborn/923437 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
d = defer.maybeDeferred(func, self, user, channel, msg) | |
d.addErrback(self.printerror) | |
d.addCallback(self.msg, channel) | |
def msg(self, user, message): | |
pass | |
# user ends up having the message, and message the target. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment