feat; modified the command that interacts with teh server to accomodate bedrock players
For #26
This commit is contained in:
parent
ee0c8f0987
commit
0478f634fa
2 changed files with 17 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue