easyantispam
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "easyantispam", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Easy Anti Spam package used for Discord Bots to prevent invites link from other servers", | ||
@@ -21,4 +21,4 @@ "main": "index.js", | ||
], | ||
"author": "kevinava", | ||
"license": "Apache-2.0", | ||
"author": "Kevinava", | ||
"license": "MIT", | ||
"bugs": { | ||
@@ -25,0 +25,0 @@ "url": "https://github.com/thekevinava/EasyAntiSpam/issues" |
@@ -1,1 +0,45 @@ | ||
## Easy Anti Spam | ||
# Easy Anti Spam | ||
<p> | ||
<img alt="NPM Version" src="https://img.shields.io/npm/v/easyantispam"> | ||
<img alt="GitHub issues" src="https://img.shields.io/github/issues/KevinavaDev/EasyAntiSpam"> | ||
<img alt="NPM License" src="https://img.shields.io/npm/l/easyantispam"> | ||
<img alt="NPM Downloads" src="https://img.shields.io/npm/dt/easyantispam"> | ||
<a href="https://discord.gg/gAFRJpasj5"><img alt="Discord" src="https://img.shields.io/discord/791333925968412703?color=%237289DA&label=Discord&logo=discord"></a> | ||
</p> | ||
- [Installation](#installation) | ||
- [Examples](#examples) | ||
- [Basic Use](#basic-use) | ||
- [License](#license) | ||
# Installation | ||
Using NPM: | ||
```js | ||
npm install easyantispam | ||
``` | ||
Using Yarn (Linux): | ||
```js | ||
yarn add easyantispam | ||
``` | ||
# Examples | ||
## Basic use | ||
```js | ||
const Discord = require('discord.js'); | ||
const client = new Discord.Client(); | ||
const AntiSpam = require('easyantispam'); | ||
client.once('ready', () => console.log('Bot is online!')); | ||
client.on('message', async message => { | ||
AntiSpam(client, message); | ||
}); | ||
client.login('TOKEN_HERE'); | ||
``` | ||
# License | ||
MIT | ||
2391
46