blackjack- irc bot to play blackjack |
git clone git://git.acid.vegas/blackjack.git |
Log | Files | Refs | Archive | README | LICENSE |
blackjack.py (459B)
1 #!/usr/bin/env python 2 # BlackJack IRC Bot - Developed by acidvegas in Python (https://acid.vegas/blackjack) 3 # blackjack.py 4 5 import os 6 import sys 7 8 sys.dont_write_bytecode = True 9 os.chdir(sys.path[0] or '.') 10 sys.path += ('core',) 11 12 import debug 13 14 debug.info() 15 if not debug.check_version(3): 16 debug.error_exit('BlackJack requires Python 3!') 17 elif debug.check_privileges(): 18 debug.error_exit('Do not run BlackJack as admin/root!') 19 import irc 20 irc.BlackJack.connect()