errbot.core_plugins.utils module

class errbot.core_plugins.utils.Utils(bot, name=None)[source]

Bases: errbot.botplugin.BotPlugin

echo(_, args)[source]

A simple echo command. Useful for encoding tests etc ...

history(msg, args)[source]

display the command history

log_tail(msg, args)[source]

Display a tail of the log of n lines or 40 by default use : !log tail 10

render_test(_, args)[source]

Tests / showcases the markdown rendering on your current backend

whoami(msg, args)[source]

A simple command echoing the details of your identifier. Useful to debug identity problems.

errbot.core_plugins.utils.tail(f, window=20)[source]