forked from Skynet/discord-bot
feat: updating teh data from wolves should now also update roles for whoever changed.
This should lead to faster activations of folks who have previously linked, join a server, then get membership. Closes #6
This commit is contained in:
parent
7303b5782c
commit
3779222a38
4 changed files with 127 additions and 23 deletions
|
@ -59,6 +59,6 @@ async fn bulk_check(ctx: Arc<Context>) {
|
|||
let db = db_lock.read().await;
|
||||
|
||||
for server_config in get_server_config_bulk(&db).await {
|
||||
update_server(&db, &ctx, &server_config, &[]).await;
|
||||
update_server(&ctx, &server_config, &[], &vec![]).await;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue