fix: make sure that wolves data is pulled in before roles are ran

This commit is contained in:
silver 2023-11-23 21:53:27 +00:00
parent 5745118ede
commit 1e486d7a57
4 changed files with 204 additions and 191 deletions

View file

@ -4,7 +4,7 @@ use serenity::{
model::gateway::{GatewayIntents, Ready},
Client,
};
use skynet_discord_bot::{db_init, get_config, get_server_config_bulk, update_server, Config, DataBase};
use skynet_discord_bot::{db_init, get_config, get_server_config_bulk, set_roles::update_server, Config, DataBase};
use std::{process, sync::Arc};
use tokio::sync::RwLock;