Skip to content

A Discord bot designed to efficiently delete messages from specific users across servers, categories, or channels.

License

Notifications You must be signed in to change notification settings

biast12/PurgeBot

Repository files navigation

PurgeBot

PurgeBot is a Discord bot that allows you to delete messages from a specific user in a server, category, or channel.

Features

  • 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.

Commands

  • /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.

Invite the Bot

You can invite this version of the bot to your server using the following link:

Invite PurgeBot

Installation

  1. Clone the repository:

    git clone https://github.com/biast12/PurgeBot
  2. Install the dependencies:

    npm install
  3. Create a .env file based on .env.example and fill in the required values:

    TOKEN=<your_bot_token>
  4. Build the project:

    npm run build
  5. Start the bot:

    npm run start

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A Discord bot designed to efficiently delete messages from specific users across servers, categories, or channels.

Resources

License

Stars

Watchers

Forks