# logger-system

> ![alt text](https://cdn.discordapp.com/attachments/944961145582784582/961681851024560229/Picsart_22-04-06_18-12-56-543.jpg) ## Install **Require Discord.js V13 Or High | Node 16 Or High.** ```sh-session npm i logger-system ``` ## Define Client For Packa

Latest version **2.0.0** (published 2022-04-07) · ISC license · 0 weekly downloads

## Install

```sh
npm install logger-system
pnpm add logger-system
yarn add logger-system
bun add logger-system
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2022-04-07 |
| First published | 2022-04-07 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 13.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | anasrz |
| Maintainers | anasrz |
| Keywords | log, system, discord, discord.js, js, javascipt |

## Links

- npm: https://www.npmjs.com/package/logger-system
- Repository: https://github.com/anasrz/logger-system
- Homepage: https://github.com/anasrz/logger-system#readme
- Issues: https://github.com/anasrz/logger-system/issues
- npm.io page: https://npm.io/package/logger-system

## Dependencies (2)

- [discord.js](https://npm.io/package/discord.js.md) ^13.6.0
- [@androz2091/discord-invites-tracker](https://npm.io/package/@androz2091/discord-invites-tracker.md) ^1.1.0

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 2.0.0 (latest) — 2022-04-07
- 1.1.0 — 2022-04-07
- 1.0.0 — 2022-04-07

## README

![alt text](https://cdn.discordapp.com/attachments/944961145582784582/961681851024560229/Picsart_22-04-06_18-12-56-543.jpg)
## Install 
**Require Discord.js V13 Or High | Node 16 Or High.** 
```sh-session
npm i logger-system
```
## Define Client For Package :
* The Bot Is Require (CHANNEL , REACTION , MESSAGE) Partials
```js
const log = require('logger-system')
const {Client,Intents} = require('discord.js') ////13
const client = new Client({ intents: [
	Intents.FLAGS.GUILDS,
	Intents.FLAGS.GUILD_MESSAGES,
	Intents.FLAGS.GUILD_MEMBERS,
	Intents.FLAGS.GUILD_INVITES,
  Intents.FLAGS.GUILD_MESSAGE_REACTIONS,
  Intents.FLAGS.GUILD_INVITES,


], partials: [
	"MESSAGE",
	"CHANNEL",
  "REACTION"
]});

const logger = new log(client)

logger.on('ready', bot => {
    console.log(`${bot.username} is ready`)
})

client.login('token here')

```

## Reaction Logger :
```js
logger.on('reactionLog', (user,message) => {
    console.log(`
    Emoji Added By : 
    ${user.username}
    in :
    ${message.channel.name}
    message author : 
    ${message.user.username}

    `)
})
```

## File Logger : 
* When Some One Delete Message If The Message Include Attachments The Bot Will Log it
```js
logger.on('fileLog',(url,user,channel) => {
  console.log(`
${user.username} Deleted A message in ${channel.name}
Message Attachment url  : 
${url}
`)
})
```

## Guild Join / Leave Logger :
```js
logger.on('memberJoin', (member,inviter) => {
  console.log(`
${member.username} Joined The Guild By ${inviter.username}
`)
})
logger.on('memberLeave', (member,inviter) => {
  console.log(`
${member.username} Leaved The Guild 
`)
})
```
## Support Server : 
[Click Here](https://discord.gg/uPPMAAAC)

---
_Source: https://npm.io/package/logger-system · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
