discord.js-moderator
v1.0.1
Published
<p align="center"><img width="100px" <h1 align="center">discord.js-moderator</h1> <p align="center"> <a href="https://www.npmjs.com/package/discord.js-moderator"></a> <br> </p>
Downloads
1
Readme
What is discord.js-moderator?
- A npm package that makes you add moderation cmds in your bot!
Install the package 📥
npm install discord.js-moderator
Usage 📚
const { purge } = require("discord.js-moderator");
purge({
type: channel, //You can purge a channel or a user. Write user if you want to purge a user
channel: message.channel, //Mention the channel to purge. Dont write this line if you wanna purge a user
user: null,//Do not write this line if you want to purge a channel. Mention the user to purge if you want to purge a user.
num: 10, //Mandatory. The number of messages to purge.
});
Helping Us 🤝
- Suggesting, Reporting bugs, giving us some code will be very helpful.
- To do the things above join our Support Server