Skip to content

canbekcan/DiscordChatBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

requirement for the code

Necessary

Node.js -> Node.js

Packages for Node.js

Open and write Terminal

npm install discord.js openai dotenv
npm init -y

Environment

You need to create .env and following codes for API

TOKEN =

OPENAI_API_KEY = 

CHANNEL_ID = 

Run on Terminal from package.json

It needs to be defined like

"scripts": { "start": "node index.js", "test": "echo "Error: no test specified" && exit 1" },

Run on Terminal

npm run start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors