feat: splitting up lib.rs into subfiles, starting with anythign taht interacts with teh api

This commit is contained in:
silver 2024-10-28 00:51:39 +00:00
parent ceade9b972
commit 79f880daea
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D
6 changed files with 194 additions and 181 deletions

View file

@ -4,9 +4,10 @@ use serenity::{
model::gateway::{GatewayIntents, Ready},
Client,
};
use skynet_discord_bot::{db_init, get_config, get_data::get_wolves_cns, Config, DataBase};
use skynet_discord_bot::{db_init, get_config, Config, DataBase};
use std::{process, sync::Arc};
use tokio::sync::RwLock;
use skynet_discord_bot::common::wolves::get_data::get_wolves_cns;
#[tokio::main]
async fn main() {