https://github.com/slice/lifesaver
batteries-included discord bot framework for discord.py
https://github.com/slice/lifesaver
Last synced: 9 months ago
JSON representation
batteries-included discord bot framework for discord.py
- Host: GitHub
- URL: https://github.com/slice/lifesaver
- Owner: slice
- License: other
- Created: 2017-07-30T04:51:48.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-03-31T02:04:01.000Z (almost 2 years ago)
- Last Synced: 2024-04-14T06:09:09.556Z (almost 2 years ago)
- Language: Python
- Homepage: https://lifesaver.rtfd.io
- Size: 931 KB
- Stars: 8
- Watchers: 4
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# discord.py-lifesaver


[](https://github.com/psf/black)
Lifesaver is an opinionated Discord bot framework built on top of
[discord.py][dpy]. 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][jsk]
- 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):
```sh
$ pip install git+https://github.com/slice/lifesaver
```
Documentation is available [here][docs] and is provided on a best-effort basis
(sorry).
[docs]: https://lifesaver.readthedocs.io/en/latest/
[jsk]: https://github.com/Gorialis/jishaku
[dpy]: https://github.com/Rapptz/discord.py