Aristotelhss / Moderation-Assistant

Discord Moderation Bot + MongoDB Database, written in JavaScript - Using discord.js, chalk, ms, mongoose. Has many features including: Ban, Kick, Warnings and much more!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Moderation Assistant


Discord Moderation Bot + MongoDB Database, written in JavaScript - Using discord.js, chalk, ms, mongoose. Has many features including: Ban, Kick, Warnings and much more!

πŸ“ Table of Contents

πŸ›  Setting up the bot

Installation

1.0 Installing Node.js
Click here to install node.js, it is required.

1.1 Installing Visual Studio Code
Click here to install visual studio code, it is required to modify your current code.

Initialising the bot

2.0 Making an application
Click here to open discord developer portal. After that create an application

2.0.1 Making a bot
When you have already created an application, create a bot. After that get the bot's token. Remmember don't share the token with anyone.

2.1 Editing settings/secret.json
Open the downloaded repo folder with visual studio code and locate settings/secret.json, after that replace token with your bot's token. If you place your Bot token now place your MongoDB URL in mongo_url.

2.2 Editing settings/config.json
Open the downloaded repo folder with visual studio code and locate settings/secret.json, after that replace prefix with your bot's prefix.

2.3 Installing dependancies
The only dependancy you need in this is Discord Bot, simply run npm i discord.js, npm i mongoose, npm i chalk, npm i ms in the terminal.

2.4 Starting up the bot
Start the bot up by running the command node main.js in the terminal.

πŸ“œ Moderation Commands

ban [@user] [reason] - Ban the specified user.
kick [@user] [reason] - Kick the specified user.
unban [@user] [reason] - Unban the specified user.

mute [@user] [length] [reason] - Mute the specified user.
unmute [@user] [reason] - Unmute the specified user.

warn [@user] [reason] - Warn the specified user.
unwarn [@user] [id] [reason] - Unwarn the speicified user.
warnings [@user] - See warnings speicified user.

πŸ’‘ General Commands

help - See the list of available orders.

πŸ“„ License

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

Β©Aristotelhs

About

Discord Moderation Bot + MongoDB Database, written in JavaScript - Using discord.js, chalk, ms, mongoose. Has many features including: Ban, Kick, Warnings and much more!

License:MIT License


Languages

Language:JavaScript 100.0%