archive

- Random tools & helpful resources for IRC
git clone git://git.acid.vegas/archive.git
Log | Files | Refs | Archive

ircs.py (441B)

      1 #!/usr/bin/env python
      2 # IRC Services (IRCS) - Developed by acidvegas in Python (https://acid.vegas/ircs)
      3 # ircs.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 import irc
     14 
     15 debug.info()
     16 if not debug.check_version(3):
     17     debug.error_exit('IRCS requires Python 3!')
     18 if debug.check_privileges():
     19     debug.error_exit('Do not run IRCS as admin/root!')
     20 irc.IRCS.connect()