clone the repository
$ git clone https://github.com/XaviaTeam/ts-discord-bot-chatgpt.git
install dependencies
$ npm install
Open .env.example, add channel id from your server, openaikey, token, then save it as .env
$ mv .env.example .env
$ npm run build
$ npm start