I am making a minigame and want to be able to give players enchanted items by the click of a button. I know how to use `/give` but can you also enchant it?

I have tried this:

```
/give @p diamond_sword 1 0 {ench:[{id:17,lvl:2},{id:19,lvl:2}]}

```

If it does not work I can just have them click buttons while holding the items.