Skip to content

Latest commit

 

History

History
49 lines (41 loc) · 1.82 KB

README.md

File metadata and controls

49 lines (41 loc) · 1.82 KB

Image

djs-moderation-system

A DJS moderation system that every server needs, full with ban, kick, and timeout commands. This command also includes logs so you can track what your mods do!

Dependencies:

  • mongoose => npm i mongoose
  • chalk => npm i chalk@4.1.2
  • dotenv => npm i dotenv

CHANGELOG #1

  • Fixed no perms to send message in channel error
  • Fixed cannot create modlogs
  • Fixed unknown interaction
  • Fixed Missing Permisson when trying to kick or ban someone

Instructions:

  1. Place the command into your commands folder.
  2. Create a new folder in the bot root direcatory and name it "schemas", and than place the schema in there.
  3. Change all the paths to the right ones if needed.
  4. Place the event into your events folder.

MongoDB Connection:

  • be sure to add this to your ready.js file.
    // Add this to the top of the file
    const { connect } = require('mongoose')
    const chalk = require("chalk")
    
    // Add this to your ready.js file
    await connect(MONGO_URI)
      .then(() => {
        console.log(chalk.yellow(`✅ >>> Successfully connected to MongoDB!`));
      })
      .catch((err) => {
        console.log(err);
      });

Preview

ModLogs for kicks

image

ModLogs for bans

image

ModLogs for timeouts

image

Contributing:

if you want to contribute create a fork of this project and when you are done editing it update the fork and create a pull request.