Update README.md

This commit is contained in:
4N0N_H4X0R||Emily
2022-04-22 09:55:05 +02:00
committed by GitHub
parent 92eff92f11
commit 5beafb858e
+9 -9
View File
@@ -14,7 +14,7 @@ npm i watchfox
```javascript ```javascript
const watchfox = require("watchfox") const watchfox = require("watchfox")
var wf = new watchfox("5780c40195ebd6e4e0aeca995f0665881fd0231e25c4dxxxxxxxxxxxxxxxxxxx") var wf = new watchfox("5780c40195ebd6e4e0aeca995f0665881fd0231e25c4dxxxxxxxxxxxxxxxxxxx")
wf.fetch("123456789123456789").then(r => { wf.fetch("123456789123456789").then(r => {
console.log(r); console.log(r);
@@ -22,18 +22,18 @@ wf.fetch("123456789123456789").then(r => {
``` ```
You will get this json object as response You will get this json object as response
```json ```json
{ {
responseCode: 0, "responseCode": 0,
data: { "data": {
score: [ "score": [
100, // Troll 100, // Troll
100, // Raider 100, // Raider
80 // Harasser 80 // Harasser
], ],
flags: [ "flags": [
"Possibly Harasser" "Possibly Harasser"
] ]
} }
} }
``` ```
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. 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.