feat: actually get the data for teh committees and pop it in the database
This commit is contained in:
parent
aff6299ac7
commit
3e6dc9d560
1 changed files with 4 additions and 0 deletions
|
@ -9,6 +9,7 @@ use std::{process, sync::Arc};
|
|||
use tokio::sync::RwLock;
|
||||
use skynet_discord_bot::common::database::{db_init, DataBase};
|
||||
use skynet_discord_bot::common::wolves::cns::get_wolves;
|
||||
use skynet_discord_bot::common::wolves::committees::get_cns;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
|
@ -47,6 +48,9 @@ impl EventHandler for Handler {
|
|||
|
||||
// get the data for each individual club/soc
|
||||
get_wolves(&ctx).await;
|
||||
|
||||
// get teh data for the clubs/socs committees
|
||||
get_cns(&ctx).await;
|
||||
|
||||
// finish up
|
||||
process::exit(0);
|
||||
|
|
Loading…
Reference in a new issue