feat; modified the command that interacts with teh server to accomodate bedrock players
Some checks failed
On_Push / lint_clippy (push) Failing after 3m22s
On_Push / lint_fmt (push) Failing after 5s
On_Push / build (push) Has been skipped
On_Push / deploy (push) Has been skipped

For #26
This commit is contained in:
silver 2024-11-30 00:55:23 +00:00
parent ee0c8f0987
commit 0478f634fa
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D
2 changed files with 17 additions and 6 deletions

View file

@ -107,7 +107,7 @@ pub(crate) mod user {
// get a list of servers that the user is a member of
if let Ok(servers) = get_servers(&db, &command.user.id).await {
for server in servers {
whitelist_update(&vec![username.to_string()], &server.minecraft, &config.discord_token_minecraft).await;
whitelist_update(&vec![(username.to_string(), java)], &server.minecraft, &config.discord_token_minecraft).await;
}
}