Example #1
0
def init():
	db = database.DB()
	db.tableSelect("clients", "cgroup")
	uberadmin = db.rowFind(5)
	if uberadmin == None:
		A.addCmd('!iddqd', cmdIDDQD, "Set yourself as uberadmin. Usage: !iddqd", 0)
	db.disconnect()
Example #2
0
from init import A

def testr(obj, n0):
	A.say('TESTING 1... 2... 3...')
	print "Testing!"

A.addCmd('!t', testr, ':D', 0)

def init(): pass