commands.register also accept an array