From 3e6dc9d56028178b4107267ab4162b349b4fcaf1 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Mon, 28 Oct 2024 14:20:36 +0000 Subject: [PATCH] feat: actually get the data for teh committees and pop it in the database --- src/bin/update_data.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bin/update_data.rs b/src/bin/update_data.rs index 310b97a..3151080 100644 --- a/src/bin/update_data.rs +++ b/src/bin/update_data.rs @@ -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);