watchfox

1.0.6 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.6
    3
    • latest

Version History

Package Sidebar

Install

npm i watchfox

Weekly Downloads

16

Version

1.0.6

License

MIT

Unpacked Size

3.59 kB

Total Files

3

Last publish

Collaborators

  • 4n0nh4x0r