fmt: re-organise the regular data request
This commit is contained in:
parent
3927734083
commit
273c58d035
3 changed files with 12 additions and 9 deletions
|
@ -8,7 +8,7 @@ use skynet_discord_bot::{get_config, Config};
|
|||
use std::{process, sync::Arc};
|
||||
use tokio::sync::RwLock;
|
||||
use skynet_discord_bot::common::database::{db_init, DataBase};
|
||||
use skynet_discord_bot::common::wolves::get_data::get_wolves_cns;
|
||||
use skynet_discord_bot::common::wolves::cns::get_wolves;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
|
@ -46,7 +46,7 @@ impl EventHandler for Handler {
|
|||
println!("{} is connected!", ready.user.name);
|
||||
|
||||
// get the data for each individual club/soc
|
||||
get_wolves_cns(&ctx).await;
|
||||
get_wolves(&ctx).await;
|
||||
|
||||
// finish up
|
||||
process::exit(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue