/satanichia-chat-bot

Discord chat bot built using discord.js and the gpt-3.5-turbo model.

Primary LanguageJavaScript

Discord AI Chat Bot w/GPT 3.5 Turbo

This is a simple Discord chat bot built using discord.js and the gpt-3.5-turbo model from Open AI. This is the same model used for the popular chatbot Chat GPT.

satanichia-log

How to setup

  1. Clone the repository to the current directory.
git clone https://github.com/cydexx/satanichia-chat-bot.git/ .
  1. Install all the dependencies.
  • Using npm
npm install
  • Using yarn
yarn
  1. Create a new file called .env and copy the format from below.
TOKEN = <bot token>
API_KEY = <openai secret key>
CHANNEL_ID = <bot chat channel id>
  1. Start your bot.
  • Using npm
npm run start
  • Using yarn
yarn start