JS AI Discord Bot
Discord bot that uses Groq api and you can type instructions for the bot.
Deploy deze template Openen op GitHub
Over
README.md
Inhoud
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"
Variabelen
Die vul je in bij het deployen. Ze worden omgevingsvariabelen van je deployment.
TOKENBot's token In discord developer portal verplichtAPI_KEYGroq's api key In groq's api key's verplichtCHATBOT_CHANNEL_IDChatbot's channel id In discord verplichtCHATBOT_INSTRUCTIONSChatbot instructions verplicht
Zo deploy je hem
- 1 Open de deploypaginaGeef je deployment een naam. Je logt in wanneer je bevestigt.
- 2 Vul de variabelen inDe waarden die de template vraagt, opgeslagen als omgevingsvariabelen van je deployment.
- 3 Controleer je resourcesHij gebruikt de gedeelde pool van je plan en start daarna. Elk account begint gratis.