fix: rename `get_wolves
` to be just for clubs/socs
This commit is contained in:
parent
9452c0ac2e
commit
04a487cd8f
3 changed files with 8 additions and 7 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue