JS AI Discord Bot
Discord bot that uses Groq api and you can type instructions for the bot.
部署這個範本 在 GitHub 開啟
簡介
README.md
目錄
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"
變數
部署時由你填寫,它們會成為部署的環境變數。
TOKENBot's token In discord developer portal 必填API_KEYGroq's api key In groq's api key's 必填CHATBOT_CHANNEL_IDChatbot's channel id In discord 必填CHATBOT_INSTRUCTIONSChatbot instructions 必填
部署方式
- 1 開啟部署頁面為你的部署命名,確認時再登入即可。
- 2 填寫變數範本要求的值,會存成部署的環境變數。
- 3 確認你的資源資源從方案的共用資源池中分配,然後啟動。每個帳號都從免費方案開始。