Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 964 Bytes

README.md

File metadata and controls

34 lines (28 loc) · 964 Bytes

Discord-Chat-Bot

This is an example Discord Chat Bot based on Open Ai and Discord.js Library. Enjoy!

Requirements

Startup

  • Create a file named .env.
  • Enter the following details to it:
token="YOUR TOKEN"
OPENAI_API_KEY="API KEY"
  • Save the file. Open Terminal in the Project Directory.
  • Head to Line 57: index.js.
  • Enter the Channel ID
  • Run:
npm i
node index.js
  • You are done.

Configuration

  • To change chat channel, head to Line 57: index.js.
  • Change the Channel ID

Support

Join one of these Discord Servers, to get support:

Discord Banner 1

Discord Banner 1