fix: improve wording
All checks were successful
On_Push / lint_fmt (push) Successful in 5s
On_Push / lint_clippy (push) Successful in 11s
On_Push / build (push) Successful in 1m21s
On_Push / deploy (push) Successful in 7s

This commit is contained in:
silver 2024-11-30 01:21:40 +00:00
parent 9b3c71e321
commit 68ffa55dc5
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D

View file

@ -26,15 +26,15 @@ pub(crate) mod user {
.description("Link your minecraft account") .description("Link your minecraft account")
.create_option(|option| { .create_option(|option| {
option option
.name("minecraft-username") .name("Minecraft Username")
.description("Your Minecraft username") .description("Your Minecraft username")
.kind(CommandOptionType::String) .kind(CommandOptionType::String)
.required(true) .required(true)
}) })
.create_option(|option| { .create_option(|option| {
option option
.name("java-account") .name("Bedrock Account")
.description("Is this a Java account?") .description("Is this a Bedrock account?")
.kind(CommandOptionType::Boolean) .kind(CommandOptionType::Boolean)
.required(false) .required(false)
}) })
@ -76,7 +76,7 @@ pub(crate) mod user {
let mut java = true; let mut java = true;
if let Some(x) = command.data.options.get(1) { if let Some(x) = command.data.options.get(1) {
if let Some(CommandDataOptionValue::Boolean(z)) = x.to_owned().resolved { if let Some(CommandDataOptionValue::Boolean(z)) = x.to_owned().resolved {
java = z; java = !z;
} }
} }