ThecommandforenchantingbottlesinMinecraftis"/enchant@[player]minecraft:enchanted_book".Toenchantabottle,replace[player]withtheplayer'susernameor@aforallplayers.Forexample,toenchantabottlefortheplayer"
The command for enchanting bottles in Minecraft is "/enchant @[player] minecraft:enchanted_book".
To enchant a bottle, replace [player] with the player's username or @a for all players.
For example, to enchant a bottle for the player "Steve", the command would be "/enchant @Steve minecraft:enchanted_book".