|
|
@@ -408,7 +408,7 @@ impl ApplicationCommandOption { |
|
|
|
description: description.to_string(), |
|
|
|
required: *required, |
|
|
|
options: None, |
|
|
|
choices: Some(choices.clone().unwrap()), |
|
|
|
choices: choices.clone(), |
|
|
|
}, |
|
|
|
ApplicationCommandOption::Integer { name, description, required, choices} => ApplicationCommandOptionRaw { |
|
|
|
type_: 4, |
|
|
@@ -416,7 +416,7 @@ impl ApplicationCommandOption { |
|
|
|
description: description.to_string(), |
|
|
|
required: *required, |
|
|
|
options: None, |
|
|
|
choices: Some(choices.clone().unwrap()), |
|
|
|
choices: choices.clone(), |
|
|
|
}, |
|
|
|
ApplicationCommandOption::Boolean { name, description, required} => ApplicationCommandOptionRaw { |
|
|
|
type_: 5, |
|
|
|