This is the test bot for project Collective-Narrative built using discord.js and the gpt-3.5-turbo model from Open AI. It would automatically fetch the conversations in the DC channel and output a collective story topic based on the input conversations that are relevant to the users' lives.
- Clone the repository to the current directory
- Install all the dependencies
- Using npm
npm install- Using yarn
yarn-
Create a new file called
.env -
Update
.envwith your own credentials. -
Register the slash commands
- Using npm
node deploy-commands.js- run the bot server
node .