PurgeBot is a Discord bot that allows you to delete messages from a specific user in a server, category, or channel.
- Purge messages from a specific user.
- Target a server, category, or channel for purging.
- Provides progress updates during the purge operation.
- Cancel ongoing purge operations.
- Supports purging messages from deleted users.
/purgeuser
- Deletes all messages from a specific user in a server, category, or channel.target_id
: The server, category, or channel to purge messages from.user_id
: The ID of the user whose messages will be deleted.
/help
- Provides information about the bot's commands.
You can invite this version of the bot to your server using the following link:
-
Clone the repository:
git clone https://github.com/biast12/PurgeBot
-
Install the dependencies:
npm install
-
Create a
.env
file based on.env.example
and fill in the required values:TOKEN=<your_bot_token>
-
Build the project:
npm run build
-
Start the bot:
npm run start
This project is licensed under the MIT License - see the LICENSE file for details.