fix: rename `get_wolves` to be just for clubs/socs

This commit is contained in:
silver 2024-09-16 15:07:29 +01:00
parent 9452c0ac2e
commit 04a487cd8f
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D
3 changed files with 8 additions and 7 deletions

View file

@ -4,7 +4,7 @@ use serenity::{
model::gateway::{GatewayIntents, Ready},
Client,
};
use skynet_discord_bot::{db_init, get_config, get_data::get_wolves, Config, DataBase};
use skynet_discord_bot::{db_init, get_config, get_data::get_wolves_cns, Config, DataBase};
use std::{process, sync::Arc};
use tokio::sync::RwLock;
@ -43,7 +43,8 @@ impl EventHandler for Handler {
let ctx = Arc::new(ctx);
println!("{} is connected!", ready.user.name);
get_wolves(&ctx).await;
// get the data for each individual club/soc
get_wolves_cns(&ctx).await;
// finish up
process::exit(0);