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 v13
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: './db/',
locale: "en-US",
systems: {
autoRole: false,
antiSpam: false,
antiInvite: false,
antiJoin: false,
antiLink: false,
blacklist: false,
ghostPing: false,
logSystem: false,
},
});
This module uses
[1] Discord.JS v13
[2] colors
[3] ms
[4] node-fetch
[5] enmap (database)
Links
[1] Documentation
[2] Module Author
[3] Support Server