Advertisement
Guest User

Fixed

a guest
Oct 22nd, 2014
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.51 KB | None | 0 0
  1. if __name__ == '__main__':
  2.     import Botato
  3.     raise SystemExit(Botato.main())
  4.  
  5. import os
  6. import sys
  7.  
  8. #No need for try-except, Python will print them to console
  9. import irc
  10. import parse
  11.  
  12. class Botato(object):
  13.     'Outermost structure class for the Botato Program'
  14.     version={'Number': '0.1', 'Type': 'Beta'}
  15.    
  16.     def begin(self):
  17.         #All set to begin bot functions
  18.         connection=irc.IRC("irc.jamezq.com",6667)
  19.         connection.connect()
  20.         connection.startListening()
  21.  
  22. def main():
  23.     bot=Botato()
  24.     bot.begin()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement