Skip to content

batteries-included discord bot framework for discord.py

License

Notifications You must be signed in to change notification settings

slice/lifesaver

Repository files navigation

discord.py-lifesaver

Python 3.10 MIT License Code style: black

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.

Features

  • 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...

Install

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).

About

batteries-included discord bot framework for discord.py

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •