feat: split out all the databse interactions into their own file
This commit is contained in:
parent
79f880daea
commit
41407ecefb
12 changed files with 348 additions and 318 deletions
|
@ -18,7 +18,8 @@ pub mod get_data {
|
|||
use serenity::client::Context;
|
||||
use serenity::model::id::GuildId;
|
||||
use sqlx::{Pool, Sqlite};
|
||||
use crate::{get_server_config_bulk, Config, DataBase, ServerMembers, ServerMembersWolves, Servers, Wolves};
|
||||
use crate::Config;
|
||||
use crate::common::database::{get_server_config_bulk, DataBase, ServerMembers, ServerMembersWolves, Servers, Wolves};
|
||||
|
||||
#[derive(Deserialize, Serialize, Debug)]
|
||||
struct WolvesResultUser {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue