Minimalistic purge bot for Discord
The bulk delete functionality is one of the very few things that are only available for bots. This project aims to bring that functionality to the Discord end user.
This bot has only one command: /purge - which lets you delete up to 100 messages at once.
Please keep in mind that due to discord limits, the messages may not be older than 2 weeks.
You can self-host this bot using any container-runtime of your liking. The provided Dockerfile can be used to build the image.
The following environment variables are required to be set before starting the app:
DISCORD_CLIENT_ID
DISCORD_PUBLIC_KEY
DISCORD_BOT_TOKENTo register commands, simply run python3 purge/__init__.py --deploy after cloning the repo and installing all requirements.
The following environment variables are required to be set before executing the command:
DISCORD_CLIENT_ID
DISCORD_CLIENT_SECRET