fix: rename `get_wolves` to be just for clubs/socs

This commit is contained in:
silver 2024-09-16 15:07:29 +01:00
parent 9452c0ac2e
commit 04a487cd8f
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D
3 changed files with 8 additions and 7 deletions

View file

@ -6,7 +6,7 @@ use serenity::{
prelude::{command::CommandOptionType, interaction::application_command::CommandDataOptionValue},
},
};
use skynet_discord_bot::get_data::get_wolves;
use skynet_discord_bot::get_data::get_wolves_cns;
use skynet_discord_bot::{get_server_config, is_admin, set_roles::update_server, DataBase, Servers};
use sqlx::{Error, Pool, Sqlite};
@ -147,7 +147,7 @@ async fn add_server(db: &Pool<Sqlite>, ctx: &Context, server: &Servers) -> Resul
// update all users
if update {
// handle wolves api here
get_wolves(ctx).await;
get_wolves_cns(ctx).await;
let mut roles_remove = vec![];
if current_remove {