Discord Moderating Bot is a powerful and efficient bot designed to help moderate and manage your Discord server. It offers various features such as kicking, banning, temporary banning, warning, and managing roles for users.
- Kick users
- Ban users
- Temporarily ban users
- Warn users
- Display user warnings
- Clear messages in bulk
- Add roles to users
- Remove roles from users
- Spam detection
- Discord link detection
- Node.js v14 or higher
- npm
- Clone the repository:
git clone https://github.com/Cooki3GOD/Discord-Moderating-Bot.git
- Navigate to the project directory:
cd Discord-Moderating-Bot - Install the dependencies:
npm install
- Create a
.envfile in the root directory. - Add your bot token to the
.envfile:DISCORD_TOKEN=your_bot_token_here
To start the bot, run the following command:
npm start!help- Display available commands!kick @user- Kick a user!ban @user- Ban a user!tempban @user duration- Temporarily ban a user for a specified duration (in minutes)!rules- Display the server rules!warn @user reason- Warn a user with a specified reason!warnings @user- Display warnings for a user!clear number- Clear a specified number of messages from the channel!roleadd @user <role>- Add a role to a user!roleremove @user <role>- Remove a role from a user
ready- Triggered when the bot is readymessageCreate- Triggered when a new message is created in the server
This project is licensed under the ISC License. See the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
If you have any issues or questions, please open an issue on the GitHub repository.
- discord.js - A powerful JavaScript library for interacting with the Discord API
- dotenv - Loads environment variables from a
.envfile - nodemon - A tool that helps develop node.js applications by automatically restarting the node application when file changes are detected