Discord.js |
A simple vanilla javascript Discord bot that takes on the persona of the infamous GigaChad internet meme. Uses the GPT3.5-Turbo-0613 LLM. Responds to chat whenever someone types "Chad" |
https://discord.com/developers/applications
https://platform.openai.com/signup
https://nodejs.org/en/
https://git-scm.com/downloads
git init
https://github.com/Lane-G-Smith/Discord-Bot-GigaChad.git
npm install
TOKEN=your_unique_Discord_bot_token_here
OPENAI_API_KEY=your_unique_OpenAI_API_key_here
node chad.js
npm install pm2 -g
Run your bot locally using pm2 https://pm2.keymetrics.io/
pm2 start chad.js
Congratulations, your bot should now be live & confirmation should be logged in the terminal. Use your personal link from the Discord developer portal to invite your bot to a Discord server
https://discord.com/developers/applications