Skip to content

LabsStar/auto-mod-discord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm version GitHub stars GitHub issues GitHub license

auto-mod-discord

A Node.js package for automoderation in Discord servers.

Installation

Install the package using npm:

npm install auto-mod-discord

Usage

const { Client } = require("discord.js"); // Import discord.js
const { AutoMod, LinkChecker, AntiSpam } = require("auto-mod-discord"); // Import the package


const client = new Client({
    intents: 32767, // All intents
});

const autoMod = new AutoMod(client); // Default settings
const linkChecker = new LinkChecker(client); // Default settings
const antiSpam = new AntiSpam(client); // Default settings

Dependencies

This package has the following dependencies:

  • discord.js
  • chalk

Examples

All examples are in the examples folder.

  • AutoMod
  • LinkChecker
  • AntiSpam

Roadmap

  • Server Backup
  • User Reputation
  • Add AntiSpam
  • Add Analytics (Might be a separate method)

Contributing

Contributions are always welcome! Please read the contribution guidelines