Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Global Ban Storage Directory

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 user
  • reason: the reason for the ban
  • proof: an array of URLs to proof of the ban
  • date: 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:

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors