Source code for evidence.plugs.warning

# oolib/plugs/warning.py
#
#

""" what to look out for. """

from point import kernel, Object

## Entry class

[docs]class Warning(Object): pass ## todo store
store = Warning() ## todo command
[docs]def warning(event): if not event.get_rest(): event.reply("warning for what ??") ; return thing = Warning() thing.warning = event.get_rest() thing.save() event.reply("alert noted.")
kernel.cmnds.register("warning", warning)