Skip to content

Latest commit

 

History

History
71 lines (46 loc) · 1.79 KB

README.md

File metadata and controls

71 lines (46 loc) · 1.79 KB

Discord-Clear-Bot V1 📌

NOTE 📝: This is a fully customizable discord.py bot with a clear command.

Table of Contents

Features

  • Clear Command Clear a specific amount of messages in a channel.
  • Clear logs The bot automatically sends a log message in the channel you defined.

Bot Usage

To use this bot, follow these steps:

  • set up a bot on https://discord.com/developers/applications
  • get your bot token and put the token in the token.txt
  • Invite the bot to your Discord server
  • Run the bot by putting your token in the "token.txt", no other characters

Commands

Clear Command

  • Description: Delete messages in a channel.
  • Usage: .clear, [aliases]
    • aliases: You can use ".delete", ".purge" too.
  • Permissions Required: manage messages

Important

The warning message for invalid numbers only shows up if you put no number after the .clear; .delete; .purge; else an error appears im about to fix this error soon.

Installation

  1. Clone the repository:

    git clone https://github.com/TrapstarJannik/Discord-Clear-Bot.git
    cd Discord-Clear-Bot
  2. Run the bot:

    python main.py

Important

You need to put your token in the token.txt or you will get an error!

Configuration

  • The bot's prefix is set to . by default. You can change it in the main.py file.
  • add your discord bot token in the token.txt by replacing the first line.

Pictures

Screenshot_60