feat: split out all the databse interactions into their own file

This commit is contained in:
silver 2024-10-28 00:59:04 +00:00
parent 79f880daea
commit 41407ecefb
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D
12 changed files with 348 additions and 318 deletions

View file

@ -1,5 +1,6 @@
use skynet_discord_bot::{db_init, get_config, get_minecraft_config, update_server, whitelist_wipe};
use skynet_discord_bot::{get_config, get_minecraft_config, update_server, whitelist_wipe};
use std::collections::HashSet;
use skynet_discord_bot::common::database::db_init;
#[tokio::main]
async fn main() {