ERRBOT(1)

✨ NAME ✨

Errbot β€” it's a chatbot, bestie πŸ’– and the whole point is that it's designed to be simple to extend with plugins written in Python. That's it, that's the vibe. 🐍✨


πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here's the usage line, no cap, exactly as it is:

usage: errbot [-h] [-c CONFIG] [-v | -r [RESTORE] | -l | --new-plugin

       [NEW_PLUGIN] | -i [INIT] | --storage-set STORAGE_SET |
       --storage-merge STORAGE_MERGE | --storage-get STORAGE_GET | -T |
       -G] [-d] [-p PIDFILE]

This is literally the main entry point of the errbot. πŸ‘‘

πŸ’… options: πŸ’…

  • -h, --help β€” shows this help message and then dips out. 🌈
  • -c CONFIG, --config CONFIG β€” the full path to your config.py. If you don't say anything, it just assumes config.py in the current working directory. πŸ“
  • -v, --version β€” shows the program's version number and exits, iconic behaviour tbh. ⭐
  • -r [RESTORE], --restore [RESTORE] β€” restores a bot from backup.py. Defaults to backup.py from the bot data directory if you don't hand it one. 🫢
  • -l, --list β€” lists literally all the available backends. πŸ“‹
  • --new-plugin [NEW_PLUGIN] β€” makes a new plugin in the directory you specify. πŸŽ€
  • -i [INIT], --init [INIT] β€” initializes a simple bot with a minimal configuration in the directory you optionally give it (if you don't, it's just the working directory). This is the glow-up starter kit: it creates a data subdirectory for the bot data dir and a plugins directory for your plugin development, with an example already in there so you can get started. 🧚✨
  • --storage-set STORAGE_SET β€” DANGER: deletes the given storage namespace and sets the python dictionary expression that you passed on stdin. πŸ’€
  • --storage-merge STORAGE_MERGE β€” DANGER: merges the python dictionary expression passed on stdin into the given storage namespace. 😭
  • --storage-get STORAGE_GET β€” dumps the given storage namespace in a format that's compatible with --storage-set and --storage-merge. πŸ”₯
  • -T, --text β€” forces the local text backend. πŸ“
  • -G, --graphic β€” forces the local graphical backend. πŸ–ΌοΈ

πŸŽ€ optional daemonization arguments: πŸŽ€

  • -d, --daemon β€” detaches the process from the console. Bye bestie, you're on your own now. πŸ‘‹
  • -p PIDFILE, --pidfile PIDFILE β€” specifies the pid file for the daemon. Defaults to the current bot data directory. πŸ—‚οΈ

Heads up fr fr: those --storage-set and --storage-merge ones are marked DANGER for a reason. They will eat your storage namespace. Respect them. πŸ™ˆ

okay that's the whole page, you ate it, main character energy, periodt πŸ’…βœ¨

This was Errbot version 6.2.0, dated January 2024 β€” mwah, take care of her πŸ«ΆπŸ’–πŸ¦‹

πŸ“¦ where this page comes from