CuandoLaTesisBot/README.md
2020-03-15 00:12:16 -03:00

574 B

CuandoLaTesisBot

Requirements

npm install

Remember to create the credentials file

 {
   "token": "",
   "postgres": {
     "user": "",
     "host": "",
     "database": "when-the-thesis",
     "password": "",
     "port": 5432
   }
 }

Also you need to create a the when-the-thesis database and also the table with:

CREATE TABLE USERS(
   ID SERIAL  PRIMARY KEY,
   USER_ID        INT    NOT NULL,
   USER_NAME      TEXT,
   FT_DATE        TEXT,
   RT_DATE        TEXT,
   DT_DATE        TEXT   
);

Deployment

node bot.js