GoatBot stores global bans in a dedicated directory called Data-Gban-GoatBot-Project at the root level of the project. This directory contains ban files for each user who has been globally banned.
The forbidden file is an object containing multiple entries, each of which represents a banned user. Each entry has a unique identifier as its key and contains the reason for the ban, the proof (e.g. a screenshot), and the date of the ban. The proof is stored as an array of URLs pointing to the location of the proof files.
id
: the ID of the banned userreason
: the reason for the banproof
: an array of URLs to proof of the bandate
: the timestamp of the ban in ISO 8601 format- Here's an example ban file for a user with ID 123456789:
{
"123456789": {
"reason": "Spamming the chat",
"proof": [
"https://example.com/proof1.jpg",
"https://example.com/proof2.mp4"
],
"date": "2023-04-02T12:12:12+0000"
}
}
Any questions or complaints please contact with the information below: