Update README.md

Fixed spelling errors in the README
This commit is contained in:
Austin 2024-06-29 00:31:03 -07:00 committed by GitHub
parent d1278ce4e0
commit 7e9d15b05e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -6,15 +6,15 @@ This is the source code for the [FBTHeaven discord bot](https://fbtsecurity.fbth
## about
I am the developer for version 2.0, it has been a stale unmaintained project for months but I didn't want my source to just wither untouched so I removed the API keys and added a hand full of `// TODO:`s to the code for you to find what discord IDs you need to change and what other keys you need to provide.
I am the developer for version 2.0, it has been a stale unmaintained project for months but I didn't want my source to just wither untouched so I removed the API keys and added a handful of `// TODO:`s to the code for you to find what discord IDs you need to change and what other keys you need to provide.
You will need a [Redis DB](https://redis.io/) for a bunch of features, no guide on setting one up atm (or possibly every, we'll see how I feel later)
You will need a [Redis DB](https://redis.io/) for a bunch of features, no guide on setting one up atm (or possibly ever, we'll see how I feel later)
You can also update a [Meilisearch DB](https://www.meilisearch.com/) with the same data, that one command is easy to comment out if you don't want to use that too
## redis layout
The db is split into 8 "folders".
Redis is a key:value DB meaning you have just the name of the DB entry and then it's value, an example of this is the entry `user:0000000000000000000` which is an entry in the user "folder".
Redis is a key:value DB meaning you have just the name of the DB entry and then its value, an example of this is the entry `user:0000000000000000000` which is an entry in the user "folder".
here are the "folders" and their descriptions:
@ -47,7 +47,7 @@ here are the "folders" and their descriptions:
```
- `monitroted-guild:<DiscordGuildID>`
- This is a [JSON](https://redis.io/docs/latest/develop/data-types/json/) entry containing info about tracked servers. this is only inside of the `_deprecated.rs` as it was a hold over from the old Python verion's SQLite DB. more info about this one will come with the Python source code later™
- This is a [JSON](https://redis.io/docs/latest/develop/data-types/json/) entry containing info about tracked servers. this is only inside of the `_deprecated.rs` as it was a holdover from the old Python version's SQLite DB. More info about this one will come with the Python source code later™
```json
{
@ -86,21 +86,21 @@ here are the "folders" and their descriptions:
# scrape discords
So the main use of this bot origionally was as follows:
So the main use of this bot originally was as follows:
- scrape discord using [DiscordChatExporter](https://github.com/Tyrrrz/DiscordChatExporter)
- run resulting .csv files though [my old parser](https://github.com/BuyMyMojo/discord-chat-parser)
- run resulting .csv files through [my old parser](https://github.com/BuyMyMojo/discord-chat-parser)
- resulting file to the bot using the `/excel` command
This was to be used to scrape servers of bad actors such as VRC model rippers and leakers, it would add every user found inside the server into the DB with a description of the server that they are found in.
Once in the DB whenever the user joined a server with the FBT bot active the server owner/mods would get notified of a bad actor joining or optionally it would auto kick these accounts.
Once in the DB whenever the user joined a server with the FBT bot active the server owner/mods would get notified of a bad actor joining or optionally it would auto-kick these accounts.
# that's all folks
# That's all folks
I might clean this up further or add a branch for the old python version in the future.
I might clean this up further or add a branch for the old Python version in the future.
good luck whoever may look upon my first large Rust project
good luck to whoever may look upon my first large Rust project
# mirrors