Hmmm, I suggest you use skirpt. For when you do that command it executes console to give that to you.
Command /superweapons
Trigger:
Make console execute "/give %player% minecraft:netherite_sword{display:{Name:"\"Superweapon\"\"",Lore:["A Superweapon"]},Enchantments:[{id:sharpness,lvl:32767},{id:fire_aspect,lvl:32767},{id:sweeping,lvl:32767},{id:unbreaking,lvl:32767},{id:mending,lvl:1},{id:looting,lvl:50}]} 1"
Make console execute "/give %player% minecraft:netherite_pickaxe{display:{Name:"\"Superweapon\"\"",Lore:["A Superweapon"]},Enchantments:[{id:unbreaking,lvl:32767},{id:mending,lvl:1},{id:fortune,lvl:100},{id:efficiency,lvl:32767}]} 1"
in all honestly this might not work cause I'm on holiday and doing this on my phone. You could ask for some help in the skript channel at the minehut discord