Container
Set up Archiver in a Docker/Podman container
Self-hosting the bot means you will lose the custom emoji used by the public instance. The generic version uses Unicode emoji instead.
Requirements
- Podman (⭐) or Docker
Setup
Make a Discord app
Go to the Discord developer dashboard and make a new app.
Set the name, picture and bio to whatever you want.
Configure the bot
To make your bot private, go to Installation and change Discord Provided Link
to None
, then click Save.
Now, go to Bot and turn off Public bot (remember to hit Save again).
Add the bot
Go to OAuth2 and scroll down to OAuth2 URL Generator. Choose the applications.commands
scope and User Install (or Guild Install if you want to use it in a server).
Copy the URL and paste it in a new tab. Add the bot from there.
Copy the token
Go to Bot and click Reset Token
. You will then be shown your token, click Copy
.
Set up the environment
Go to the source code repository and clone the code using Git.
It is recommended to deploy from main
and not a release as main
gets fixes and updates more frquently.
You can also download the repo as a ZIP.
Copy docker-compose-example.yml
to docker-compose.yml
:
Edit docker-compose.yml
with your token and error webhook URL:
Run the bot
Using your OCI runtime (Podman or Docker), execute the Docker Compose file.
Run the bot 24/7
There are a variety of online guides to do this on your host operating system.
Updating
In the same folder, simply run the following commands:
Remember to check for and remove old images.