feat: actually get the data for teh committees and pop it in the database

This commit is contained in:
silver 2024-10-28 14:20:36 +00:00
parent aff6299ac7
commit 3e6dc9d560
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D

View file

@ -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);