fix: rename `get_wolves
` to be just for clubs/socs
This commit is contained in:
parent
9452c0ac2e
commit
04a487cd8f
3 changed files with 8 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue