fix: improve wording
This commit is contained in:
parent
9b3c71e321
commit
68ffa55dc5
1 changed files with 4 additions and 4 deletions
|
@ -26,15 +26,15 @@ pub(crate) mod user {
|
|||
.description("Link your minecraft account")
|
||||
.create_option(|option| {
|
||||
option
|
||||
.name("minecraft-username")
|
||||
.name("Minecraft Username")
|
||||
.description("Your Minecraft username")
|
||||
.kind(CommandOptionType::String)
|
||||
.required(true)
|
||||
})
|
||||
.create_option(|option| {
|
||||
option
|
||||
.name("java-account")
|
||||
.description("Is this a Java account?")
|
||||
.name("Bedrock Account")
|
||||
.description("Is this a Bedrock account?")
|
||||
.kind(CommandOptionType::Boolean)
|
||||
.required(false)
|
||||
})
|
||||
|
@ -76,7 +76,7 @@ pub(crate) mod user {
|
|||
let mut java = true;
|
||||
if let Some(x) = command.data.options.get(1) {
|
||||
if let Some(CommandDataOptionValue::Boolean(z)) = x.to_owned().resolved {
|
||||
java = z;
|
||||
java = !z;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue