Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 1.46 KB

README.md

File metadata and controls

46 lines (36 loc) · 1.46 KB

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