Socket
Socket
Sign inDemoInstall

discord-moderation

Package Overview
Dependencies
88
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    discord-moderation

discord-moderation will simplify creating moderation system to your discord bot.


Version published
Weekly downloads
0
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Welcome!

Welcome, this is 'discord-moderation' module!
discord-moderation will simplify creating Moderation System for Your Discord Bot!

Features

[🔑] Built in TypeScript
[⚙] 100% Promise-based
[🙂] TypeScript Support
[👍] Discord.JS v13

Requirements

[1] NodeJS v16 or Above
[2] Discord.JS

Quick Example

const { Client, Intents } = require("discord.js");
const { Moderation } = require("discord-moderation");

const client = new Client({
  intents: [
    "GUILDS",
    "GUILD_MESSAGES",
    "GUILD_PRESENCES",
    "GUILD_MEMBERS",
    "GUILD_BANS",
  ],
});

const moderation = new Moderation(client, {
  dbPath: "./",
  locale: "en-US",
  defaultSystems: {
    autoRole: false,
    antiSpam: false,
    antiInvite: false,
    antiJoin: false,
    antiLink: false,
    blacklist: false,
    ghostPing: false,
    logSystem: false,
  },
});

This module uses

[1] Discord.JS
[2] colors
[3] ms
[4] node-fetch
[5] enmap (database)

[1] Documentation
[2] Module Author
[3] Support Server

Keywords

FAQs

Last updated on 12 Jun 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc