Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def make_ircCmd(cmd):
- def _ircCmd():
- print cmd # instead of irc.send
- return _ircCmd
- pong = make_ircCmd("PONG :Pong")
- join = make_ircCmd("join: #channel")
- etc = make_ircCmd("etc")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement