Extensible Discord bot framework based on Discord.py
Project description
Grace Framework
Build powerful Discord bots, without the boilerplate.
What is Grace Framework
Grace Framework is an opinionated, extensible Discord bot framework built on top of discord.py. It comes with a various tools designed to help you rapidly build scalable, feature-rich Discord bots with minimal boilerplate.
Key features
- Quick to start: Generate a full-featured bot in seconds
- Modular Architecture: Clean separation of features via extensions
- Database Integration: Easily connect your bot to a persistent backend
- Built-in Generators: Create extensions, models and more with a single command
Inspiration
Grace Framework was inspired by the evolution of our community discord bot, Grace, that evolved, gaining support for modular extensions, database integrations, and rapid feature development — it began to resemble a standalone framework. Recognizing its potential, we decided to extracted its architecture into Grace Framework, making its ease-of-use and flexibility available to developers everywhere.
Getting Started
1- Install the package
requirements
- Python 3.10 or higher
- SQLite (or Postgresql, MySQL & MariaDB, Oracle, and MS-SQL)
$ pip install grace-framework
To install the development version:
$ git clone https://github.com/Code-Society-Lab/grace-framework.git
$ cd grace-framework
$ pip install -e .
Note: It is recommended to use a virtual environment when installing python packages.
2- Generate a new bot
$ grace new my-awesome-bot
$ cd my-awesome-bot
3- Set your bot token
Edit the .env in the project directory and set DISCORD_TOKEN.
DISCORD_TOKEN=YOUR TOKEN
4- Run your bot
$ grace run
5- Start building!
Check out the official wiki for guides, architecture, and API reference.
Contributing
We welcome everyone to contribute!
Whether it's fixing bugs, suggesting features, or improving the docs - every bit helps.
- Submit an issue
- Open a pull request
- Or just hop into our Discord community and say hi!
If you intend to contribute, please read the CONTRIBUTING.md first. Additionally, every contributor is expected to follow the code of conduct.
License
Grace Framework is released under GPL-3.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file grace_framework-0.10.6a0.tar.gz.
File metadata
- Download URL: grace_framework-0.10.6a0.tar.gz
- Upload date:
- Size: 69.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16e804b6393261b1aa4599b4cb4acd43d98c30e4779722059732897d58c5bb6b
|
|
| MD5 |
47c39ba4388491f7cf7b0b9c056c7a47
|
|
| BLAKE2b-256 |
33dead645c52ed727af144e825dde568c2a7ba969c0b61d4c9fdf8362ca6ef26
|
File details
Details for the file grace_framework-0.10.6a0-py3-none-any.whl.
File metadata
- Download URL: grace_framework-0.10.6a0-py3-none-any.whl
- Upload date:
- Size: 45.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b468183461852784fa8e3589d9e20310fd90c7d3601bf9795a7e7e802945363
|
|
| MD5 |
5e6af54bbdd5c457d471fa3b8c7b72a0
|
|
| BLAKE2b-256 |
8288f56b331b180cc289a40ce791e040373136229fb9d76414f9e1d3d33ba176
|