Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 728 Bytes

README.md

File metadata and controls

40 lines (26 loc) · 728 Bytes

CN-bot test

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.

How to setup

  1. Clone the repository to the current directory
  1. Install all the dependencies
  • Using npm
npm install
  • Using yarn
yarn
  1. Create a new file called .env

  2. Update .env with your own credentials.

  3. Register the slash commands

  • Using npm
node deploy-commands.js
  1. run the bot server
node .