JS AI Discord Bot
Discord bot that uses Groq api and you can type instructions for the bot.
Deploy this template Open on GitHub
About
README.md
Contents
JS-AI-Discord-bot
And now do steps under
1.
Open .env file
2.
In "TOKEN" type your bot's token
3.
In "CLIENT_ID" type bot's ID
4.
In "API_KEY" type Groq's api key
5.
In "CHATBOT_CHANNEL_ID" type chatbot channel's ID
6.
In "CHATBOT_INSTRUCTIONS" type chatbot's instructions
7.
In console type "node src/index.js"
Variables
You fill these in when you deploy. They become environment variables of your deployment.
TOKENBot's token In discord developer portal requiredAPI_KEYGroq's api key In groq's api key's requiredCHATBOT_CHANNEL_IDChatbot's channel id In discord requiredCHATBOT_INSTRUCTIONSChatbot instructions required
How to deploy it
- 1 Open the deploy pageName your deployment. You sign in when you confirm.
- 2 Fill in its variablesThe values the template asks for, stored as environment variables of your deployment.
- 3 Check your resourcesIt draws from your plan's shared pool, then launches. Every account starts free.