A simple Discord logging bot.
Go to file
Lucien Cartier-Tilet 58bd07d556
Create and publish a Docker image / build-and-push-image (push) Successful in 1m29s Details
chore: remove unnecessary step
Default docker image in Gitea runner now ships with Docker
2023-12-19 20:09:05 +01:00
.gitea/workflows chore: remove unnecessary step 2023-12-19 20:09:05 +01:00
assets initial commit 2023-11-23 00:59:55 +01:00
migrations feat: add listing logger channels in a guild 2023-11-23 22:15:47 +01:00
src feat: Enable Docker deployment and CD 2023-11-26 04:22:56 +01:00
.dockerignore feat: Enable Docker deployment and CD 2023-11-26 04:22:56 +01:00
.env.example feat: Enable Docker deployment and CD 2023-11-26 04:22:56 +01:00
.gitignore initial commit 2023-11-23 00:59:55 +01:00
Cargo.lock refactor: simplify code, better organize it, and comment it 2023-11-25 23:33:06 +01:00
Cargo.toml chore: bump version to 1.0.0 2023-11-24 00:02:31 +01:00
Dockerfile chore: simplify Dockerfile 2023-12-19 20:09:05 +01:00
LICENSE.md initial commit 2023-11-23 00:59:55 +01:00
README.md initial commit 2023-11-23 00:59:55 +01:00
docker-compose.yml feat: Enable Docker deployment and CD 2023-11-26 04:22:56 +01:00

README.md

p4bl0t

p4bl0t is a simple logging bot for Discord written in Rust.

Usage

In order to run p4bl0t, head over to your developer portal on Discords website, and create a bot there. Then, copy the .env.example file to a .env file and fill in the details.

cp .env.example .env
emacs .env
# or
vim .env
# or
nano .env
# or
code .env
# or whichever text editor you prefer

Install the sqlx CLI if you dont have it already.

cargo install sqlx-cli

Setup your SQLite database.

export DATABASE_URL=<your-database-url> # should be the same as in the .env file
sqlx database create
sqlx migrate run

You can then run the project using cargo run

cargo run
# or
cargo run --release # if you dont want debug symbols

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

AGPL-3.0 or later