_images/botd2line.png

bot.krn

database,timer and tables

classes

Cfg(*args, **kwargs)
Kernel(*args, **kwargs)

functions

hook(hfn)

source

class Cfg(*args, **kwargs)[source]

Bases: bot.dft.Default

class Kernel(*args, **kwargs)[source]

Bases: bot.obj.Object

static addcls(clz)[source]
static addcmd(func)[source]
static addmod(mod)[source]
static boot(name, version, mns='')[source]
static getcls(name)[source]
static getcmd(c)[source]
static getfull(c)[source]
static getmod(mn)[source]
static getmodule(mn, dft)[source]
static getnames(nm, dft=None)[source]
static init(mns)[source]
static opts(ops)[source]
static parse()[source]
static regs(mns)[source]
static wait()[source]
cfg = {}
cmds = {}
fulls = {"adm": "bot.adm", "bus": "bot.bus", "cfg": "bot.cfg", "clk": "bot.clk", "clt": "bot.clt", "cmd": "bot.cmd", "cms": "bot.cms", "dft": "bot.dft", "evt": "bot.evt", "fnd": "bot.fnd", "hdl": "bot.hdl", "irc": "bot.irc", "krn": "bot.krn", "log": "bot.log", "lst": "bot.lst", "obj": "bot.obj", "opt": "bot.opt", "prs": "bot.prs", "rss": "bot.rss", "tdo": "bot.tdo", "thr": "bot.thr", "udp": "bot.udp", "ver": "bot.ver"}
modules = {}
names = {}
table = {"bot.adm": "<module 'bot.adm' from '/home/bart/botdocs/env/lib/python3.9/site-packages/bot/adm.py'>", "bot.bus": "<module 'bot.bus' from '/home/bart/botdocs/env/lib/python3.9/site-packages/bot/bus.py'>", "bot.cfg": "<module 'bot.cfg' from '/home/bart/botdocs/env/lib/python3.9/site-packages/bot/cfg.py'>", "bot.clk": "<module 'bot.clk' from '/home/bart/botdocs/env/lib/python3.9/site-packages/bot/clk.py'>", "bot.clt": "<module 'bot.clt' from '/home/bart/botdocs/env/lib/python3.9/site-packages/bot/clt.py'>", "bot.cmd": "<module 'bot.cmd' from '/home/bart/botdocs/env/lib/python3.9/site-packages/bot/cmd.py'>", "bot.cms": "<module 'bot.cms' from '/home/bart/botdocs/env/lib/python3.9/site-packages/bot/cms.py'>", "bot.dft": "<module 'bot.dft' from '/home/bart/botdocs/env/lib/python3.9/site-packages/bot/dft.py'>", "bot.evt": "<module 'bot.evt' from '/home/bart/botdocs/env/lib/python3.9/site-packages/bot/evt.py'>", "bot.fnd": "<module 'bot.fnd' from '/home/bart/botdocs/env/lib/python3.9/site-packages/bot/fnd.py'>", "bot.hdl": "<module 'bot.hdl' from '/home/bart/botdocs/env/lib/python3.9/site-packages/bot/hdl.py'>", "bot.irc": "<module 'bot.irc' from '/home/bart/botdocs/env/lib/python3.9/site-packages/bot/irc.py'>", "bot.krn": "<module 'bot.krn' from '/home/bart/botdocs/env/lib/python3.9/site-packages/bot/krn.py'>", "bot.log": "<module 'bot.log' from '/home/bart/botdocs/env/lib/python3.9/site-packages/bot/log.py'>", "bot.lst": "<module 'bot.lst' from '/home/bart/botdocs/env/lib/python3.9/site-packages/bot/lst.py'>", "bot.obj": "<module 'bot.obj' from '/home/bart/botdocs/env/lib/python3.9/site-packages/bot/obj.py'>", "bot.opt": "<module 'bot.opt' from '/home/bart/botdocs/env/lib/python3.9/site-packages/bot/opt.py'>", "bot.prs": "<module 'bot.prs' from '/home/bart/botdocs/env/lib/python3.9/site-packages/bot/prs.py'>", "bot.rss": "<module 'bot.rss' from '/home/bart/botdocs/env/lib/python3.9/site-packages/bot/rss.py'>", "bot.tdo": "<module 'bot.tdo' from '/home/bart/botdocs/env/lib/python3.9/site-packages/bot/tdo.py'>", "bot.thr": "<module 'bot.thr' from '/home/bart/botdocs/env/lib/python3.9/site-packages/bot/thr.py'>", "bot.udp": "<module 'bot.udp' from '/home/bart/botdocs/env/lib/python3.9/site-packages/bot/udp.py'>", "bot.ver": "<module 'bot.ver' from '/home/bart/botdocs/env/lib/python3.9/site-packages/bot/ver.py'>"}
hook(hfn)[source]