Lifesaver is an opinionated Discord bot framework built on top of discord.py. It exports an assortment of utilities and helpers that ease the burden of maintenance when it comes to everyday botmaking, and it's especially handy to those who maintain multiple bots at a time.
Warning: Lifesaver's raison d'être is code deduplication. It's not inherently useful to everyone.
- Built-in cogs
- jishaku
- Command error handler (
Errors
) - Ping (
Health
)
- Extension hot reloading via filesystem polling
- Bot (and cog) configuration primitives via YAML
- Command line module (
python -m lifesaver.cli
) for bootstraping bots - Global emoji table
- PostgreSQL integration
- A cornucopia of diverse utilities
- Strings, dates, and escaping
- Localization
await ctx.ok()
await ctx.pick_from_list()
- and more...
Installation via pip (not recommended; Nix preferred):
$ pip install git+https://github.com/slice/lifesaver
Documentation is available here and is provided on a best-effort basis (sorry).