Description: The market is a Discord bot that is a bot on the Discord platform. You can execute commands to play this amazing game. Your objective during the game is to get as rich as possible by trading stocks and doing your job. I hope you guys enjoy this game since it took me a bit to make it. :)
-
COMMANDS
-
How To Get The Market Online
- open a terminal and open
..\The Market\src
. - type
npm install
in the terminal. - Create a
.env
file inside the src folder and type the following:- TOKEN=
- ownerID=
- MONGO_NAME=
- MONGO_PASS=
- MONGO_HOST=
- IEX_API_KEY=
- Create a Discord Application and create a bot. Then you copy the token and paste it under token in the
.env
file. - The ownerID value is optional, but you can enter your discord ID.
- Create a MONGO database and fill
MONGO_NAME
,MONGO_PASS
andMONGO_HOST
. - Create a IEX api key and paste it in
IEX_API_KEY
. - Now enter
node bot.js
in the terminal and the bot will be online.
- open a terminal and open