Created
June 2, 2011 14:47
-
-
Save FurryHead/1004582 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
def main(): | |
#main loop | |
#.... | |
if irc_line is a message: | |
sawMessage(channel, user, message) | |
#.... | |
def sawMessage(channel, user, message): | |
#do processing to call all plugins | |
#... | |
def doMessage(channel, message): | |
send_irc_line("PRIVMSG "+channel+" :"+message) | |
#Right here, should this call sawMessage? | |
sawMessage(channel, my_nickname, message) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment