fmt: re-organise the regular data request

This commit is contained in:
silver 2024-10-28 01:29:01 +00:00
parent 3927734083
commit 273c58d035
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D
3 changed files with 12 additions and 9 deletions

View file

@ -8,7 +8,7 @@ use skynet_discord_bot::{get_config, Config};
use std::{process, sync::Arc};
use tokio::sync::RwLock;
use skynet_discord_bot::common::database::{db_init, DataBase};
use skynet_discord_bot::common::wolves::get_data::get_wolves_cns;
use skynet_discord_bot::common::wolves::cns::get_wolves;
#[tokio::main]
async fn main() {
@ -46,7 +46,7 @@ impl EventHandler for Handler {
println!("{} is connected!", ready.user.name);
// get the data for each individual club/soc
get_wolves_cns(&ctx).await;
get_wolves(&ctx).await;
// finish up
process::exit(0);