Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
I am trying to make a script to basically clone a Trello board and if something happens to it I can just revert it with a simple command (using discord js as well) that will send all lists and cards on the original board (I am going to define the original board's id's in multiple variables.
So basically I am asking if I can get all the lists on the board and send the lists and cards in the exact same place to another board.
If I understand correctly you basically want to be able to copy a board, the same as in your other issue #80... or at least part of that issue. The copy board functionality is implemented in pull request #82 which is not yet merged.
If you're impatient for this to be merged into master, then until it is merged you can still solve your problem, as it's mentioned in the README
See the implementation from the "copy board" pull request as an example that you could write using