fix: make parameter clearer

This commit is contained in:
silver 2024-03-03 16:46:53 +00:00
parent bd74cdd09b
commit bbd55202bd

View file

@ -20,7 +20,7 @@ pub(crate) mod user {
pub fn register(command: &mut CreateApplicationCommand) -> &mut CreateApplicationCommand { pub fn register(command: &mut CreateApplicationCommand) -> &mut CreateApplicationCommand {
command.name("link_minecraft").description("Link your minecraft account").create_option(|option| { command.name("link_minecraft").description("Link your minecraft account").create_option(|option| {
option option
.name("minecraft_id") .name("minecraft-username")
.description("Your Minecraft username") .description("Your Minecraft username")
.kind(CommandOptionType::String) .kind(CommandOptionType::String)
.required(true) .required(true)