def __init__(self, *args, **kwargs): "Parent must be initialized first." TypedObject.__init__(self, *args, **kwargs) # handlers _SA(self, "cmdset", CmdSetHandler(self)) _GA(self, "cmdset").update(init_mode=True) _SA(self, "scripts", ScriptHandler(self)) _SA(self, "attributes", AttributeHandler(self)) _SA(self, "nicks", NickHandler(self)) _SA(self, "tags", TagHandler(self)) _SA(self, "aliases", AliasHandler(self))
def scripts(self): return ScriptHandler(self)