From 87b3c5cc1e55d4d9921cd1b7345dbfe3010150f5 Mon Sep 17 00:00:00 2001 From: bluebelle <103332125+blue-belle@users.noreply.github.com> Date: Wed, 4 Feb 2026 10:56:19 -0500 Subject: [PATCH 1/2] Add Docker example for self-hosting db dump script Added Docker usage example for self-hosting the bot. --- docs/self-hosting/scripts.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/self-hosting/scripts.md b/docs/self-hosting/scripts.md index 25aec80..8478563 100644 --- a/docs/self-hosting/scripts.md +++ b/docs/self-hosting/scripts.md @@ -19,7 +19,7 @@ This is not an efficient backup method; it is intended for converting between da ```bash linenums="0" pnpm db.dump ``` - +!!! example "Docker" When self-hosting the bot using Docker, you can use `docker exec` to attach to the container. `docker exec -it [CONTAINER NAME] sh` will create an interactive shell, from which you can `cd` into `/app` and run the `db.dump` command. ### `db.prune` Deletes all data from guilds in the database where the bot was first added From 84dee31ac44bf891bb33a78f08dfb61403e429f3 Mon Sep 17 00:00:00 2001 From: Isaac Date: Wed, 4 Feb 2026 16:20:45 +0000 Subject: [PATCH 2/2] Improve formatting of Docker example in scripts.md Reformat Docker usage example for clarity. --- docs/self-hosting/scripts.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/self-hosting/scripts.md b/docs/self-hosting/scripts.md index 8478563..b3ea1c9 100644 --- a/docs/self-hosting/scripts.md +++ b/docs/self-hosting/scripts.md @@ -19,7 +19,9 @@ This is not an efficient backup method; it is intended for converting between da ```bash linenums="0" pnpm db.dump ``` -!!! example "Docker" When self-hosting the bot using Docker, you can use `docker exec` to attach to the container. `docker exec -it [CONTAINER NAME] sh` will create an interactive shell, from which you can `cd` into `/app` and run the `db.dump` command. +!!! example "Docker" + When self-hosting the bot using Docker, you can use `docker exec` to attach to the container. `docker exec -it [CONTAINER NAME] sh` will create an interactive shell, from which you can `cd` into `/app` and run the `db.dump` command. + ### `db.prune` Deletes all data from guilds in the database where the bot was first added