botlib.cmnds

botlib basic commands.

Exceptions

ENODATE date cannot be determined.
class Email(*args, **kwargs)[source]

Bases: botlib.object.Object

Email object.

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

Bases: botlib.object.Object

Data Entry class .

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

Bases: botlib.cmnds.Entry

a log entry to log what is happening on the day.

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

Bases: botlib.cmnds.Entry

a RSS entry

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

Bases: botlib.cmnds.Entry

a shopping item for the wife to shop.

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

Bases: botlib.cmnds.Entry

a todo entry

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

Bases: botlib.cmnds.Entry

a todo for tomorrow to be done.

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

Bases: botlib.cmnds.Entry

files to watch.

alias(event)[source]

key, value alias.

announce(event)[source]

announce text on all channels in fleet.

begin(event)[source]

begin stopwatch.

cfg(event)[source]
cmnds(event)[source]

show list of commands.

deleted(event)[source]

show deleted records.

dump(event)[source]

dump objects matching the given criteria.

end(event)[source]

stop stopwatch.

exit(event)[source]

stop the bot.

fetcher(event)[source]

fetch all rss feeds.

find(event)[source]

present a list of objects based on prompt input.

first(event)[source]

show the first record matching the given criteria.

fleet(event)[source]
kernel(event)[source]
last(event)[source]

show last objectect matching the criteria.

license(event)[source]
log(event)[source]

log some text.

loglevel(event)[source]

set loglevel.

loud(event)[source]

disable silent mode of a bot.

ls(event)[source]

show subdirs in working directory.

mbox(event)[source]
pid(event)[source]

show pid of the BOTLIB bot.

ps(event)[source]

show running threads.

real_reboot()[source]

actual reboot.

reboot(event)[source]

reboot the bot, allowing statefull reboot (keeping connections alive).

reload(event)[source]

reload a plugin.

restore(event)[source]

set deleted=False in selected records.

rm(event)[source]

set deleted flag on objects.

rss(event)[source]

add a rss url.

save(event)[source]

make a kernel dump.

shop(event)[source]

add a shopitem to the shopping list.

show(event)[source]
silent(event)[source]

put a bot into silent mode.

start(event)[source]

start a plugin.

stop(event)[source]

stop a plugin.

synchronize(event)[source]
test(event)[source]

echo origin.

timer(event)[source]

timer command to schedule a text to be printed on a given time. stopwatch to measure elapsed time.

today(event)[source]

show objects logged for today.

todo(event)[source]

log a todo item.

tomorrow(event)[source]

show todo items for tomorrow.

uptime(event)[source]

show uptime.

version(event)[source]

show version.

watch(event)[source]
week(event)[source]

show last week’s logged objects.

whoami(event)[source]

show origin.

yesterday(event)[source]

show objects added yesterday.