···4455[FBT Links](https://linktr.ee/FBT_Heaven)
6677-## about
77+## About
8899-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.
99+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.
10101111You 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)
1212You 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
13131414-## redis layout
1414+## Redis layout
15151616The db is split into 8 "folders".
1717Redis 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".
···2121- `authed-server-users:<DiscordServerID>`
2222 - This is a Redis [SET](https://redis.io/docs/latest/develop/data-types/sets/) of discord user IDs who are authenticated in the server in the DB entry
2323- `cleared-suer:<DiscordUserID>`
2424- - this is a [JSON](https://redis.io/docs/latest/develop/data-types/json/) entry of users who are cleared as okay in the DB after being flagged
2525- - Json format:
2424+ - This is a [JSON](https://redis.io/docs/latest/develop/data-types/json/) entry of users who are cleared as okay in the DB after being flagged
2525+ - JSON format:
26262727 ```JSON
2828 {
···3636- `feedback:<timestamp>-<DiscordUserID>-<DiscordUserName>`
3737 - This is just a [String](https://redis.io/docs/latest/develop/data-types/strings/) containing whatever feedback they put in the feedback command
3838- `guild-settings:<DiscordGuildID>`
3939- - This is a [JSON](https://redis.io/docs/latest/develop/data-types/json/) entry containing if the server has auto kick enabled or not as well as the channel id for bot announcements
3939+ - This is a [JSON](https://redis.io/docs/latest/develop/data-types/json/) entry containing if the server has auto kick enabled or not as well as the channel ID for bot announcements
40404141 ```json
4242 {
···4646 }
4747 ```
48484949-- `monitroted-guild:<DiscordGuildID>`
4949+- `monitored-guild:<DiscordGuildID>`
5050 - 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™️
51515252 ```json
···6060 ```
61616262- `status:commands-executed`
6363- - this is a simple [String](https://redis.io/docs/latest/develop/data-types/strings/) entry to track how many commands have run since the feature was implemented, it appears at the bottom of the `/about` command
6363+ - This is a simple [String](https://redis.io/docs/latest/develop/data-types/strings/) entry to track how many commands have run since the feature was implemented, it appears at the bottom of the `/about` command
6464- `user:<DiscordUserID>`
6565 - This is the largest list of entries in the DB.
6666 - These are [JSON](https://redis.io/docs/latest/develop/data-types/json/) entries for users who are uploaded via scrapped discords, more info on that in the next section
···8484- `kick-whitelist`
8585 - This is a [SET](https://redis.io/docs/latest/develop/data-types/sets/) that I didn't put in a folder for some reason. It holds a list of DiscordUserIDs that should be ignored when running the `/excel` command.
86868787-# scrape discords
8787+# Scrape Discords
88888989So the main use of this bot originally was as follows:
9090···102102103103good luck to whoever may look upon my first large Rust project
104104105105-# mirrors
105105+# Mirrors
106106107107- [GitHub](https://github.com/BuyMyMojo/open-fbt)
108108- [Codeberg](https://codeberg.org/BuyMyMojo/open-fbt)
109109- [Personal Gitea](https://git.buymymojo.net/BuyMyMojo/open-fbt)
110110111111<p style="color: rgba(0, 0, 0, 0)">
112112-There is no database files or user entries here, look somewhere else <3
112112+There are no database files or user entries here, look somewhere else <3
113113</p>