1.1.7-dev.12h6213.1661945887 • Published 3 years ago

discord-moderator v1.1.7-dev.12h6213.1661945887

Weekly downloads
3
License
MIT
Repository
github
Last release
3 years ago

About

Discord Moderator is a powerful Node.js moderation module for your Discord.js bot that based on Promises and has a lot of features.

  • 👍 Simple & easy to use
  • 😄 Beginner friendly
  • 🔑 TypeScript Support
  • 💿 Minimum load
  • 📂 Multiple servers
  • ⚙️ 100% Promise-based

Installation

Node.js 16.9.0 or newer is required.

$ npm install discord-moderator
$ yarn add discord-moderator
$ pnpm add discord-moderator

Example Usage

const { Client, GatewayIntentBits } = require("discord.js");
const { Moderator } = require("discord-moderator");

const client = new Client({
	intents: [
		GatewayIntentBits.Guilds,
		GatewayIntentBits.GuildMembers
	]
});

client.moderator = new Moderator(client);

client.on('ready', async () => {
  	return console.log('Client is ready!');
})

client.moderator.on('ready', async () => {
	return console.log('Moderator is ready!');
})

client.login('YOUR_CLIENT_TOKEN_HERE');

Links

1.1.7

3 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.1

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.0

4 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago