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")
|
.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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue