GithubHelp home page GithubHelp logo

aristotelhss / moderation-assistant Goto Github PK

View Code? Open in Web Editor NEW
17.0 1.0 6.0 111 KB

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

JavaScript 100.00%
chalk mongoose ms discord-js

moderation-assistant's Introduction

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

moderation-assistant's People

Contributors

aristotelhss avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

moderation-assistant's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.