Skip to content
This repository has been archived by the owner on May 19, 2024. It is now read-only.

How to start latest version? #36

Answered by kenryu42
doopie-art asked this question in Q&A
Discussion options

You must be logged in to vote

You can now initialize a new npm project to use the sales bot.

  1. create a project folder, and navigate to it
  2. run npm init -y
  3. add "type": "module" to package.json
  4. run npm install enft dotenv

Copy the following example file as index.js.

Run node index.js to start the script. (make sure you are using node version >= 18)

Please note that you will need to modify some of the fields. The comments in the example/js/onItemSold.js file will guide you through the process.

If you're not familiar with Node.js, I suggest you learn by either searching on Google or asking ChatGPT for help.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
1 reply
@doopie-art
Comment options

Answer selected by doopie-art
Comment options

You must be logged in to vote
4 replies
@doopie-art
Comment options

@doopie-art
Comment options

@kenryu42
Comment options

@doopie-art
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants