- Only messages not older than 14 days can be deleted
- Threads are not processed by the bot
- Pinned messages are excluded from deletion
## Setup using Docker
Using Docker is the easiest way to use this bot:
1. Copy the `docker-compose.yaml` to your server
2. Create a bot account [using this guide](https://discordpy.readthedocs.io/en/stable/discord.html#creating-a-bot-account) (ignore the "Inviting Your Bot" section - the bot will show you the correct invite link later)
3. Paste your bot token behind `BOT_TOKEN=` in the `docker-compose.yaml`
4. Start the container using `docker compose up -d`
5. Run `docker compose logs` and copy the invite link to your browser
## Manual setup
If you don't want to use Docker, you can set up the bot manually:
1. Clone the Git repo
2. Create and activate a new venv
3. Install the requirements using `requirements.txt`
4. Create a bot account [using this guide](https://discordpy.readthedocs.io/en/stable/discord.html#creating-a-bot-account) (ignore the "Inviting Your Bot" section - the bot will show you the correct invite link later)