1.0.6 • Published 3 years ago

watchfox v1.0.6

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

WatchFox

Watchfox is a system that is supposed to be used as a discord server watchdog, but as fox
Reporting users is being done via my website: watchfox.kitsunes.eu

Installation

Use npm to install the package

npm i watchfox

Usage

You first need to request an api key from watchfox.kitsunes.eu/Documentation.html

const watchfox = require("watchfox")

var wf = new watchfox("5780c40195ebd6e4e0aeca995f0665881fd0231e25c4dxxxxxxxxxxxxxxxxxxx")
wf.fetch("123456789123456789").then(r => {
    console.log(r);
})

You will get this json object as response

{
  "responseCode": 0,
  "data": {
    "score": [
      100, // Troll
      100, // Raider
      80,  // Harasser
      10   // Scammer
    ],
    "flags": [
      "Possibly Harasser",
      "Definately Scammer"
    ]
  }
}

By default every user has a score of 100 on all fields, the more this value decreases, the higher the probability that this user acts in bad faith.

License

MIT

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago