1.0.4 • Published 12 months ago
auto-mod-discord v1.0.4
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 AntiSpamAdd Analytics (Might be a separate method)
Contributing
Contributions are always welcome! Please read the contribution guidelines